In this page we describe how to deploy public static assets on a domain.
Install the SDK and start a session
If you don't have installed 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/. We provide a FREE community plan.
Prepare the public assets to deploy
By default you have to locate your public assets in a
public directory. This directory can be inside a warped module, or in an empty directory.
To deploy use the
deploy command when you are located at the root of directory of the module you want to deploy.
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.