Skip to content

Running and Updating

Daniel Schultz edited this page Dec 3, 2019 · 2 revisions

To start the app from cold:

cd /path/to/app
yarn queue:jobs:schedule
pm2 start "yarn start"

To stop the app entirely:

pm2 stop "yarn start"
yarn queue:jobs:unschedule

To update the code:

# 1. First, stop the app as mentioned above
# 2. Then, update:
cd /path/to/app
git pull
yarn install
yarn migrate
# 3. Then, start the app as mentioned above
Clone this wiki locally