We use shipit as our deployment tool. To start deploying the app, follow these steps:
-
Install Yarn if you haven't already
-
Install required Node modules:
# Should be run in the project's directory
yarn
- Create a
.env
file based on.env.example
and set the variables properly
cp .env.example .env
NOTE: Be careful when setting these environment variables, they define where the app will be deployed on the server
- Deploy to
dev
orproduction
:
yarn deploy:prod # Deploy to production
yarn deploy:dev # Deploy to dev