samthetechie / infrastructure

Infrastructure of IndieHosters Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites to work on this project:

Get started:

vagrant up

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

If you want to add another wordpress instance apart from indiehosters.dev:

  • For e.g. example.dev, put a cert for it in /data/per-user/example.dev/combined.pem on the host system.
  • Test it with openssl s_server -cert /data/per-user/example.dev/combined.pem -www
vagrant ssh
sudo sh /data/infrastructure/scripts/approve-user.sh example.dev wordpress

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

Cleaning up

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

vagrant ssh
rm -rf /etc/systemd/system/multi-user.wants/*

and then restart the VM with vagrant reload.

About

Infrastructure of IndieHosters Network

License:GNU Affero General Public License v3.0