App store for SHA2017 badge derivatives (such as Disobey19)
- Create new virtualenv (
python3 -m virtualenv venv
or something similar) and activate it - Install dependencies:
pip install -r requirements.txt
- Copy
config.example.yml
toconfig.yml
and change at least the base url and the secret key - Initialize database:
sqlite3 data.db ".read base.sql"
- Add a test user by using SQLite CLI (because for now user management is nonexistent):
INSERT INTO user (name, email, password) VALUES ("admin", "admin@localhost", "$2b$12$4uDb/pAIcNLahGg.FwV7EOki5WhX35zYFTnlv6nsFiOG5DWHXeAAq");
(user admin, password admin) - Run:
./app.py
- You can't edit anything yet. Only creating and viewing apps and releases are supported as of now (2019-01-20).
- If you want to use this with SSL, create a self-signed certificate (Google it) as a PEM file. See config file key
ssl_cert_path
under thedev_server
section. - Deploying isn't supported. There are no releases. This has been hacked together in a day or two.