Gotchi, a tamagotchi inspired game in the browser.
- @DanFoster Help fixing issues with testing and code coverage actions.
Client: HTML5, CSS, Javascript
Server: Python 3.13, Flask
- Init db
flask --app gotchi init-db - Run
flask --app gotchi run --debug --no-reload - Test
pytest - Test Coverage
coverage run -m pytest - Coverage reports:
coverage reportcoverage html
- Build
pip install buildpython -m build --wheel
- Install
pip install flaskr-1.0.0-py3-none-any.whl(replace this with output of prior) - Init db
flask --app gotchi init-db - Config Secret Key
python -c 'import secrets; print(secrets.token_hex())'(save the output) - Create
config.pyin the instance folder and add the secret keySECRET_KEY = <PutYourKeyHere> - Run With Waitress WSGI
pip install waitresswaitress-serve --call 'gotchi:create_app'