Skip to content

App store for SHA2017 badge derivatives (such as Disobey19)

License

Notifications You must be signed in to change notification settings

Z1ni/pyhatchery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyhatchery

App store for SHA2017 badge derivatives (such as Disobey19)

Quick start

  1. Create new virtualenv (python3 -m virtualenv venv or something similar) and activate it
  2. Install dependencies: pip install -r requirements.txt
  3. Copy config.example.yml to config.yml and change at least the base url and the secret key
  4. Initialize database: sqlite3 data.db ".read base.sql"
  5. 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)
  6. Run: ./app.py

Notes

  • 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 the dev_server section.
  • Deploying isn't supported. There are no releases. This has been hacked together in a day or two.

About

App store for SHA2017 badge derivatives (such as Disobey19)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published