|
1 year ago | |
---|---|---|
ansible | 2 years ago | |
scripts | 2 years ago | |
tests | 2 years ago | |
xppl | 1 year ago | |
.gitignore | 2 years ago | |
CHANGELOG.md | 2 years ago | |
Makefile | 2 years ago | |
Pipfile | 2 years ago | |
Pipfile.lock | 2 years ago | |
README.md | 2 years ago | |
setup.py | 2 years ago | |
tox.ini | 2 years ago | |
wsgi.py | 2 years ago |
The XPUB library living at Varia.
Please note, the following instructions have only been tested on the Debian Stretch OS.
You'll need to run an RQLite database first:
$ apt update && apt install -y make
$ make install-rqlite
$ make rqlited
Then get Pipenv and run the development server with:
$ pipenv install --dev --three
$ pipenv run devserver
The local development web server will now be available.
If you need to check the database contents, run:
$ make rqlite
And then run .help
for which commands are available.
$ pipenv run tox
Refer to the tox.ini for configuration options.
See ansible/README.md for this.
The XPPL is made up of a few parts:
If you know Ansible (it's just YAML), you can just read the entire configuration.
On the varia.zone machine, you can check the running services with:
$ sudo supervisorctl status all # check all services
$ sudo supervisorctl stop xppl:* # stop all XPPL services
$ sudo supervisorctl start xppl:* # start all XPPL services
You can also view the error logs with:
$ sudo supervisorctl tail xppl:xppl-flask stderr
$ sudo supervisorctl tail xppl:xppl-rqlite stderr
The /var/xppl/xppl/uploads
folder is managed by the Varia Syncthing UI.
The RQLite database is located at /var/xppl/rqlite/node.1
. No cluster is configured.
No backups are configured right now.