The Platform CLI is a command line interface used to manage your PureWeb projects.
To install the latest released version:
Using yarn:
$ yarn global add @pureweb/platform-cli
Using npm:
$ npm install -g @pureweb/platform-cli
- Navigate to https://console.pureweb.io
- Login (or signup) and create a new project.
- Note the
CLIENT_ID
andCLIENT_SECRET
for the project, for use in the next step.
$ pw config set client-id <CLIENT_ID>
$ pw config set client-secret <CLIENT_SECRET>
For a full list of commands, run pw help
.
$ pw environment create --name MyEnvironment
$ pw agent create <environmentId>
$ pw model create MyModel /path/to/zip/file
Contact support@pureweb.com with any questions or concerns.