diff --git a/Makefile b/Makefile index c27f099..c4dd03f 100644 --- a/Makefile +++ b/Makefile @@ -44,13 +44,12 @@ rebuild: docker-compose build web docker-compose stop web docker-compose kill web - docker-compose up -d web compress: docker-compose exec web ./manage.py collectstatic --noinput -i media docker-compose exec web ./manage.py compress -release: rebuild compress +release: rebuild compress run reindex: docker-compose exec web ./manage.py update_index diff --git a/README.md b/README.md index 1e555e9..d1b33c5 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ The typical order of deployment is: For further deployment and system maintenance we have a `Makefile` which automates Docker Compose tasks. This should be converted to use [Ansible Container](http://docs.ansible.com/ansible-container/getting_started.html). In the meantime, start a release with Ansible, then complete it using `make`, i.e.: ``` -ansible-playbook -i ansible/inventories/production --tags release ansible/site.yaml +ansible-playbook -i ansible/inventories/production --tags release ansible/wagtail.yaml ssh -i .keys/ansible.pem ansible@ "cd && make release" ```