From 15bd175412afe80c535d9a8d6e7276cf1aacca6d Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Thu, 4 May 2017 00:28:59 +0200 Subject: [PATCH] Readme updated --- .gitignore | 1 + README.md | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e4e23e8..60d6eb5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ .DS_Store *.swp *.sqlite3 +/docker-compose.yml /env/ /venv/ /static/ diff --git a/README.md b/README.md index 5170a16..86db6f0 100644 --- a/README.md +++ b/README.md @@ -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