How to deploy a new mataroa instance?
- Get a linux server
- Follow the server playbook
- Update mataroa/settings
ADMINSCANONICAL_HOSTEMAIL_HOSTandEMAIL_HOST_BROADCAST
- Adjust the deploy.sh script
- Change IP
- Enable
deployuser to reload the uwsgi systemd service. To do this...
...add deploy user to sudo/wheel group:
adduser deploy sudoThen, edit sudoers with:
visudoand add the following:
# Allow deploy user to restart apps
%deploy ALL=NOPASSWD: /usr/bin/systemctl reload mataroa.uwsgi
Rumours are the only way to see the results is to reboot :/
But once you do (!) — then:
sudo -i -u deploy
sudo systemctl reload mataroa.uwsgi