-
Notifications
You must be signed in to change notification settings - Fork 11
Development Guide
Install Python deps with: sudo pip install -r ./requirements.txt
These requirements couldn't be dropped without making substantial changes to the code.
- Redis database listening on
/var/run/redis/redis.sock
- Nginx server (See config example)
- Auth0 Developer Plan (Free)
- Github account
These requirements could be dropped by making minimal code changes.
Systemd is used to start/stop the application as well as to ensure it stays running (See service file examples).
The implementation makes it so that the fact that a database is being used is not apparent in most of the codebase. Certain objects are backed by the database automatically. You just use them like any other object though. If you have questions about how the data is structured in redis, please contact me directly.
The source of truth for package metadata is a github repository containing a PKGBUILD for every package that is managed by this application. Builds are initiated automatically based on commits to the github repo. This is done by configuring a webhook in the repo's settings.