Skip to content
Darth Vanger edited this page Oct 24, 2021 · 1 revision

CI

The app is automatically deployed via Jenkins on every commit to master.

Manual deploy

There is a deploy.sh script on the server:

$ cat /home/ec2-user/deploy.sh
cd sites/NeuralNotes
git checkout master
git pull
npm install
npm run build

# Update frontend files
sudo mv /srv/html/neuralNotes/ /srv/html/neuralNotes_backup_"$(date '+%s')"
sudo mv dist /srv/html/neuralNotes

# Restart the API  server
sudo systemctl restart neural-notes
Clone this wiki locally