No description
Find a file
2014-11-10 10:41:23 +00:00
blueprints Refactors directory structure 2014-11-07 15:52:47 +00:00
confd Variation on http://stackoverflow.com/a/16528383/680454 2014-11-09 22:01:26 +00:00
data/server-wide add self-signed cert for default website fix activate-user 2014-10-20 12:08:37 +01:00
deploy fix important typo in deploy.sh 2014-11-07 15:56:24 +00:00
doc mention port 4001 being exposed in current Ubuntu instructions 2014-11-10 10:41:23 +00:00
scripts a few small bugfixes 2014-11-09 22:01:10 +00:00
tests Adds tests \o/ 2014-11-07 15:58:28 +00:00
unit-files Fixes git-puller timer 2014-11-07 15:58:27 +00:00
.gitignore Adds confd support! 2014-10-10 18:08:14 +01:00
CHANGELOG.md Tag 0.1.0 2014-10-28 09:59:02 +00:00
cloud-config Adds backup vm in Vagrant 2014-11-07 15:56:23 +00:00
LICENSE Initial commit 2014-09-24 14:40:03 +01:00
README.md Some corrections in documentation 2014-11-10 07:57:15 +00:00
Vagrantfile Adds backup vm in Vagrant 2014-11-07 15:56:23 +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/main.sh