Skip to content
Snippets Groups Projects
Commit 2a7cf0dc authored by Aymeric Bernard's avatar Aymeric Bernard
Browse files

Merge remote-tracking branch 'origin/feat/pull_changes' into feat/badge-reader

parents e7031cac 32c4a6c7
No related branches found
No related tags found
No related merge requests found
{
"apps": [
{
"script": "../server/index.js",
"name": "tv-panel",
"instances": "1",
"exec_mode": "cluster"
}
]
}
#!/bin/bash
CWD=$(pwd)
DIRECTORY=$(cd `dirname $0` && pwd)
cd $DIRECTORY
# Pull code
git fetch
# git reset --hard origin/master
# Install deps
cd ../
yarn install --pure-lockfile
# Build front
yarn build:front
# Restart server
cd scripts
pm2 startOrRestart ecosystem.config.json
# Restart screen
screen -S TVPanelScreen -X quit
./start_tv_panel.sh
cd $CWD
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment