forked from neo-project/neo-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Events Redeployment
Sng Ping Chiang edited this page Jul 30, 2018
·
1 revision
- Comment out schedules in crontab. Edit with
sudo crontab -e - Stop all processes
sudo supervisorctl stop all - Back up config.json and protocol.json if no backup.
- Create a repository tag for the particular commit e.g: v2.7.4e
sudo docker build https://github.com/ConjurTech/neo-cli.git#v2.7.4e:neo-cli -t neo-cli:2.7.4esudo docker run neo-cli:2.7.4esudo rm -rf /opt/neo-clisudo docker ps -asudo docker cp <container-id>:/app /opt/neo-clisudo chown -R ubuntu:ubuntu /opt/neo-clicp ~/config.json /opt/neo-clicp ~/protocol.json /opt/neo-clisudo supervisorctl restart all- Check logs for errors. var/log/supervisorctl
- Uncomment schedules in crontab. Edit with
sudo crontab -e