xppl/ansible/README.md

25 lines
625 B
Markdown

# XPPL Ansible Automation
An automated deployment for the XPPL.
## Run It
You'll need to have SSH and Sudo access to [varia.zone] first.
```bash
$ sudo apt install -y ansible
$ ansible-playbook --ask-become-pass plays/main.yml
```
[varia.zone]: https://varia.zone/
## What Does It Do?
* Clone the Python application into `/var/xppl/`.
* Get the RQLite database running managed under [Supervisord].
* Run the [Gunicorn] WSGI server to server the Python application.
* Proxy the WSGI server with an NGINX configuration.
[Gunicorn]: https://gunicorn.org/
[Supervisord]: http://supervisord.org/introduction.html#features