Dashboard-Plugin
Docs HomeDashboard plugins and appsInfomakerNaviga global
  • About
  • Intro
  • Getting started
  • The anatomy of a plugin
  • Manifest structure
  • Getting started
    • Get Dashboard-Plugin
    • Build
  • What's new
  • Components
    • Agent
      • Actions
    • Application
    • Widget
    • Health
    • Modal
    • Settings
  • API and GUI
    • API
      • Overview
      • register
        • Reducers
        • Portals
        • Requirements
        • Permissions
        • Default config
        • Config Modifiers
      • cache
      • store
      • encrypt
      • decrypt
      • createUUID
      • getLanguage
      • getTextDirection
      • getTimeFormat
      • getKeyCharFromCode
      • getKeyCodeFromChar
      • event
      • Logger
      • buildRouteUrlWithDispatchableEvent
      • getUser
      • getAction
      • getPortal
      • getConfig
      • getLocalize
      • getAvailableActions
      • getAvailablePortals
      • request
      • setHealth
      • openModal
      • closeModal
      • confirm
      • notifications
      • hasPermission
      • standalone
      • withUser
      • useModal
      • useSheet
      • useUser
      • useConfig
      • useLocalize
      • useApplication
      • useMappings
      • useStandalone
    • GUI
      • Core GUI
      • Style-Guide
    • Modules
      • GUI
      • Utility
      • NavigaID
        • getUserToken
        • getApplicationToken
        • getGroupsFromToken
  • Mappings
  • Plugins deployments
  • S3 upload
  • Deprecations
    • 4.1.0
    • 4.0.0
    • 2.1.0
Powered by GitBook
On this page

Was this helpful?

S3 upload

In the root of the plugin project you will find a scripts folder that holds on some builtIn scripts we run on deploy, you can see that there is a file named upload.js This script can upload all of the plugin files to a S3 bucket of your choosing.

Run the following command to upload your plugin

npm run upload:s3 S3_BUCKET_NAME=$S3_BUCKET_NAME S3_REGION=$S3_REGION S3_ACCESS_KEY=$S3_ACCESS_KEY S3_SECRET_ACCESS_KEY=$S3_SECRET_ACCESS_KEY

This will first execute

npm run build

Then it will execute the ./scripts/upload.jsfile.

The plugin path will be formatted as following

[S3_URL_PATH]/[PLUGIN_BUNDLE]/[VERSION replacing dots with dashes./-]

Example of manifest path

https://s3-eu-west-1.amazonaws.com/your-bucket-name/se-infomaker-dashboard-plugin/1-0-0/manifest.json
PreviousPlugins deploymentsNextDeprecations

Last updated 5 years ago

Was this helpful?