Varia library working group XPPL.
https://gitea.xpub.nl/XPUB/XPPL
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
625 B
25 lines
625 B
6 years ago
|
# 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
|