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
.envfile based on.env.exampleand set the variables properly
cp .env.example .envNOTE: Be careful when setting these environment variables, they define where the app will be deployed on the server
- Deploy to
devorproduction:
yarn deploy:prod # Deploy to production
yarn deploy:dev # Deploy to dev