1.0.14 • Published 11 months 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
ID
and theKEY
in the coresponding variables in the.srt-env
- Done! You should now be able to build and deploy projects. using the
srt --help
command in your terminal.
Building
In the project directory of an SRT project you can run the following
srt build
will 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.