In this page we describe how to deploy a warped module.
Install the SDK and start a session
If you don't have installed WarpJS SDK globally, you need to add it as a dependency to your module:
npm install warp
Before using the SDK you need to enter a session. You have to use your ScaleDynamics credentials to be identified using:
npx warp login
Note that if you don't have a ScaleDynamics account yet, you can ask here https://console.scaledynamics.com/auth/signup/.
Deploy the module in a cloud environment
To deploy use the
deploy command when you are located at the root of directory of the warped module. By default all assets in the directory are going to be deployed privately, except for the public directory that can be used to publish public static assets on a domain (See deploy static public assets for more details).
npx warp deploy
On the console you'll see what is going to be deployed and where.
See all options details in the
warp deploycommand line documentation.