1.0.14 • Published 2 years ago
@rwest-interactive/srt v1.0.14
Intel SRT CLI
Command line interface to help build, deploy and manage SRT projects through the srt command line name.
Getting Started
- Run
npm install -g @rwest-interactive/srt - Create needed ENV
cp /usr/local/lib/node_modules/@rwest-interactive/srt/.env-example $HOME/.srt-env - Open ENV
open -e $HOME/.srt-env
In AWS you'll need to create a long last access key to to add to this ENV file to deploy projects
- Now that you have those keys paste the
IDand theKEYin the coresponding variables in the.srt-env - Done! You should now be able to build and deploy projects. using the
srt --helpcommand in your terminal.
Building
In the project directory of an SRT project you can run the following
srt buildwill walk you through the build process step-by-step.
Power-users can also run srt build -h to show a list of commands that will shorten, if not eliminate the interactive
questions in the terminal.
Deploying
Before deploying you'll need to make sure you run a build. Once you have that you can run srt deploy to start the
interactive process. If you want to expedite it just a little, you can run srt deploy -e [dev|prod] depending on where
you're trying to deploy.