No description
Find a file
2015-01-16 11:05:48 +01:00
dockerfiles Fixes wordpress https \o/ 2015-01-16 11:05:48 +01:00
documentation Adds comparison to other PaaS 2015-01-13 12:32:29 +01:00
hotfixes Adds hotfix for applying code to merge into lamp unit file 2015-01-13 19:11:52 +01:00
scripts Moves backup from Git to Duplicity 2015-01-15 18:04:34 +01:00
tests Fix tests 2015-01-16 11:05:48 +01:00
to_migrate Cleans up 2015-01-05 17:32:50 +01:00
unit-files Fixes timout on backups 2015-01-16 11:05:48 +01:00
.gitignore Adds confd support! 2014-10-10 18:08:14 +01:00
CHANGELOG.md updates changelog 2015-01-10 17:27:23 +01:00
cloud-config Moves backup from Git to Duplicity 2015-01-15 18:04:34 +01:00
LICENSE Initial commit 2014-09-24 14:40:03 +01:00
README.md clean up 2015-01-05 16:45:04 +01:00
Vagrantfile Starts automatically indiehosters.dev on vagrant up 2014-11-11 17:17:05 +00:00

IndieHosters

This repository contains the configuration and scripts we use to control our servers. It can run inside Vagrant or deploy to a server

Prerequisites to running this code with Vagrant:

Get started:

vagrant up

Wait for the provisioning to finish (~40mins), and go to your browser: https://indiehosters.dev

If the process fails, for instance due to network problems, you can retry by running vagrant provision.

Set up a domain:

vagrant ssh core-1
sudo mkdir -p /data/import/example.dev/TLS
sudo cp /data/indiehosters/scripts/unsecure-certs/example.dev.pem /data/import/example.dev/TLS
sudo systemctl enable static@example.dev
sudo systemctl start static@example.dev

Check https://example.dev in your bowser!

Cleaning up

To clean up stuff from previous runs of your VM, you can do:

vagrant destroy
vagrant up

Tests

vagrant destroy
vagrant up
# Set up example.dev as above, and test https://example.dev in your browser
vagrant ssh core-1
sudo su
/data/indiehosters/tests/start.sh
exit
exit
vagrant reload --provision
vagrant ssh core-1
sudo su
/data/indiehosters/tests/finish.sh