No description
Find a file
2015-01-05 16:30:35 +01:00
blueprints update to known 0.6.5 2014-11-30 15:17:28 +01:00
confd Variation on http://stackoverflow.com/a/16528383/680454 2014-11-09 22:01:26 +00:00
data/server-wide document runme files 2014-12-05 12:13:41 +01:00
deploy Removes forget server script 2014-11-11 17:16:41 +00:00
doc mention docker-enter in Debian/Ubuntu install instructions 2014-12-07 12:43:21 +01:00
dockerfiles Adds dockerfiles 2015-01-05 16:30:35 +01:00
proc split migration procedure into one doc per service 2014-12-05 13:02:19 +01:00
scripts Adds possibility to import from a dump 2014-12-03 17:13:03 +00:00
tests Adds tests after reboot / big refactor 2014-12-03 17:13:03 +00:00
unit-files Fixes a little timer 2014-12-03 17:13:03 +00:00
.gitignore Adds confd support! 2014-10-10 18:08:14 +01:00
CHANGELOG.md Updates changelog 2014-12-03 17:13:53 +00:00
cloud-config Updates documentation 2014-12-04 18:33:42 +00:00
LICENSE Initial commit 2014-09-24 14:40:03 +01:00
README.md Adds tests after reboot / big refactor 2014-12-03 17:13:03 +00: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 (FIXME: update those instructions to prescribe less folder structure, explain static https+smtp hosting, and check if they currently work).

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