Oliver Davies
7a9bf80a89
Automatically update the created dates for talk nodes so that they match the most-future event. This means that the talks are ordered correctly on the Talks page. |
||
---|---|---|
.circleci | ||
.idea | ||
assets/images | ||
bin | ||
config/default | ||
scripts/development | ||
tools/ansible | ||
web | ||
.gitignore | ||
.php-version | ||
ansible.cfg | ||
composer.json | ||
composer.lock | ||
docker-compose.yaml | ||
php.ini | ||
phpstan.neon | ||
README.md |
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.