Find a file
2020-05-08 17:46:32 +01:00
.circleci Add Circle CI config 2020-02-07 22:32:25 +00:00
.idea Add drupal/core-dev metapackage 2020-05-08 17:46:32 +01:00
assets/images Update DrupalCamp image 2020-02-14 11:53:39 +00:00
bin Add custom bin scripts 2020-05-07 12:57:45 +01:00
config/default Add blog posts view 2020-05-08 13:48:56 +01:00
scripts/development Add start of theme 2020-04-10 10:57:30 +01:00
tools/ansible Create main.yml 2020-04-10 09:13:30 +01:00
web Include event information in migrated events 2020-05-08 13:15:21 +01:00
.gitignore Add custom bin scripts 2020-05-07 12:57:45 +01:00
.php-version Use Symfony server for local development 2020-04-10 10:48:35 +01:00
ansible.cfg Use YAML for output 2020-04-09 11:17:28 +01:00
composer.json Add drupal/core-dev metapackage 2020-05-08 17:46:32 +01:00
composer.lock Add drupal/core-dev metapackage 2020-05-08 17:46:32 +01:00
docker-compose.yaml Use Symfony server for local development 2020-04-10 10:48:35 +01:00
php.ini Use Symfony server for local development 2020-04-10 10:48:35 +01:00
phpstan.neon Add PHPStan 2020-04-24 08:54:02 +01:00
README.md Document the provision command 2020-02-19 01:16:21 +00:00

oliverdavies.uk

Hosting

This site is hosted on a DigitalOcean droplet, which was created using Ansible (see tools/ansible/digitalocean.yml).

Provisioning

To re-provision the server:

# Download the required roles
ansible-galaxy install -r tools/ansible/requirements.yml --force

# Run the provision playbook
ansible-playbook tools/ansible/provision.yml

Deploying

Deployments for this site for managed with Ansible and Ansistrano. Ansible Vault is used to manage sensitive information like database passwords.

Deployments are triggered automatically when changes are pushed to GitHub, and are performed via CircleCI.

To run a deployment manually, run ansible-playbook tools/ansible/deploy.yml --ask-vault-pass. The Vault password is stored in LastPass.