No description
Find a file
2015-09-06 13:20:39 +01:00
certs Moves certs to dir 2015-03-10 12:22:27 +00:00
configs Adds script to create vultr instances for tests purposes 2015-03-10 12:22:27 +00:00
dockerfiles Moves email as a separate module 2015-09-06 13:15:35 +01:00
documentation Format and typo 2015-07-16 10:08:46 +01:00
examples/meteorapp.test Adds a universal runner 2015-05-08 15:05:11 +01:00
hotfixes adds hotfix fo wordpress upgrade 2015-04-26 14:26:18 +01:00
scripts Adds a universal runner 2015-05-08 15:05:11 +01:00
tests Creates a proper cert for mail 2015-03-12 19:57:19 +00:00
unit-files Adds PASSPHRASE to duplicity command 2015-09-06 13:20:39 +01:00
utils wip 2015-06-13 19:00:55 +00:00
.gitignore ignores vim swap files 2015-02-17 11:34:12 +00:00
CHANGELOG.md Updates changelog 2015-01-29 11:13:11 +00:00
LICENSE Initial commit 2014-09-24 14:40:03 +01:00
README.md explain how to see the applications with your browser 2015-03-11 17:31:04 +01:00
SUPPORTED_APPLICATIONS Moves supported application to a file 2015-03-10 12:22:27 +00:00

IndieHosters

This repository contains the configuration and scripts I use to control my servers.

Tests

There is a script that provision 2 VMs on Vutlr for tests purpose.

Prerequisites

Start tests

/!\ This is still in dev, use it at your own risk /!\

export VULTR_API_KEY=
./scripts/start.sh
ssh root@server.test
cd /data/indiehosters
./tests/start.sh
./tests/email.sh
reboot
ssh root@server.test
./tests/stop.sh
# find out WordPress password:
journalctl -u web@*.test | grep to\ connect\ test
# find out piwik and owncloud password:
journalctl -u web@*.test | grep \'\>\>\ generated
exit
./scripts/stop.sh

Most of the tests are "visual", but by reading them, it gives you an idea on how to start and stop services.

Before running ./scripts/stop.sh, you can use your browser to see the applications:

This is still work in progress, please feel free to contribute to it!