Readme updated

This commit is contained in:
Oleg Lavrovsky 2017-05-04 00:28:59 +02:00
parent 7b20f476b7
commit 15bd175412
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
.DS_Store
*.swp
*.sqlite3
/docker-compose.yml
/env/
/venv/
/static/

View File

@ -72,7 +72,9 @@ Now access the admin panel with the user account you created earlier: http://loc
We use [Ansible](https://www.ansible.com) and [Docker Compose](https://docs.docker.com/compose/reference/overview/) for automated deployment.
You need to obtain SSH and vault keys, and place these in a `.keys` folder - then to deploy a site:
To use Docker Compose to deploy the site, copy `ansible/roles/web/templates/docker-compose.j2` to `/docker-compose.yml` and fill in all `{{ variables }}`. This is done automatically in Ansible.
To do production deployments, you need to obtain SSH and vault keys from your system administrator (who has followed the Ansible guide to set up a vault..), and place these in a `.keys` folder - then to deploy a site:
```
ansible-playbook -s ansible/<*.yaml> -i ansible/inventories/production