Wordpress hosting system for Handshake https://hnshosting.au
Go to file
2023-08-16 17:05:15 +10:00
master flask: Added host to allow more access 2023-08-16 17:05:15 +10:00
worker flask: Added host to allow more access 2023-08-16 17:05:15 +10:00
.gitignore main: Added worker interactions 2023-08-16 16:59:57 +10:00
LICENSE.md Initial commit 2023-08-16 12:53:35 +10:00
README.md main: Added worker interactions 2023-08-16 16:59:57 +10:00

HNSHosting Wordpress

This is split into two parts. There is the master server which is the server that will be used to manage the worker servers. Then there is the worker server which is the server that will be used to host the wordpress site.

This is done to make it easier to manage multiple wordpress sites on multiple servers.

Master server install

Install prerequisites:

chmod +x install.sh
./install.sh

This will create the service to run the master server.

Worker server install

Install prerequisites:

chmod +x install.sh
./install.sh

Add worker to master server:

curl -X POST http://master-server-ip:5000/add-worker?worker=worker-name&ip=worker-server-ip -H "key: api-key"