Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vjean/hypnos
Keep track of your sleeping habits
https://github.com/vjean/hypnos
Last synced: about 1 month ago
JSON representation
Keep track of your sleeping habits
- Host: GitHub
- URL: https://github.com/vjean/hypnos
- Owner: VJean
- Created: 2016-08-01T21:30:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T22:45:38.000Z (3 months ago)
- Last Synced: 2024-11-10T23:30:07.583Z (3 months ago)
- Language: Python
- Homepage:
- Size: 1.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Hypnos
Données concernant les nuits passées (coucher, lever, temps de sommeil, endroit, ...).
## Setup and development
```
poetry shell
FLASK_ENV=development flask run
```## Flask-Migrate notes
This project uses SQLite, which has limited implementation of `ALTER TABLE` statements.
Here is a blog post from `Flask-Migrate`'s author on how to work around those limitations: https://blog.miguelgrinberg.com/post/fixing-alter-table-errors-with-flask-migrate-and-sqlite