All old erams applications are hosted on derams0, ssh to derams0 and find your applications root directory under:
/var/erams/django/eRAMS/apps/
Then pull and update the local mercurial repo:
sudo -u www-data hg pull
sudo -u www-data hg up
Then stop the existing web pod, cleanest way to do this is to shut down apache from inside the container:
docker exec -it erams-web bash
service apache2 stop
Then restart the web docker container:
cd /home/eramscloud/erams
docker-compose up &
Python Changes
If any python services need updated, you will also need to restart Celery workers after you've done the repo update
Move to this directory:
/var/erams/django
Then call the Celery reboot script:
./run_celery.sh
Afterwards, you can verify the status of the main worker (called "worker@derams0") from this same directory by running:
celery -A eRAMS status
Core eRAMS Changes
If an update to the core eRAMS repo is involved, the relevant directory slightly different:
/var/erams
All other steps behave as normal