Release instructions
This commit is contained in:
parent
d076cb4587
commit
6a663b188a
3 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
```
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue