Release instructions

This commit is contained in:
Oleg Lavrovsky 2017-04-26 15:57:01 +02:00
parent d076cb4587
commit 6a663b188a
3 changed files with 3 additions and 3 deletions

View file

@ -38,9 +38,9 @@ setup:
docker-compose exec web ./manage.py collectstatic
release:
docker-compose build web
docker-compose stop web
docker-compose kill web
docker-compose build web
docker-compose up -d web
django-exec-bash:

View file

@ -98,5 +98,5 @@ For further deployment and system maintenance we have a `Makefile` which automat
```
ansible-playbook -s ansible/site.yaml -i ansible/inventories/production --tags release
ssh -i .keys/ansible.pem ansible@<server-ip> "cd <release_dir> && make"
ssh -i .keys/ansible.pem ansible@<server-ip> "cd <release_dir> && make release"
```

View file

@ -13,4 +13,4 @@
- name: Update Docker site
debug:
msg: "Please run 'make' in {{ release_dir }} to finish updating the site"
msg: "Please run 'make release' in {{ release_dir }} to finish updating the site"