Readme updated
This commit is contained in:
parent
7b20f476b7
commit
15bd175412
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,6 +4,7 @@
|
|||
.DS_Store
|
||||
*.swp
|
||||
*.sqlite3
|
||||
/docker-compose.yml
|
||||
/env/
|
||||
/venv/
|
||||
/static/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue