The Human Mitochondrial Database HmtDB.
Only the first time the database is set up:
- Create a new virtual environment (Python 3):
virtualenv -p python3.6 venv - Activate the virtual environment:
source venv/bin/activate - Install required modules:
pip install -r requirements.txt - Create the DB:
export FLASK_APP=app:app; flask create-db - Update the DB:
flask update-db - Migrate the DB:
flask migrate-db
When finished, deactivate the virtual environment: deactivate.
Please refer to the /update/INSTALL.md and /update/README.md files for details about the updating protocol for HmtDB.
After the updating procedure is complete, please run flask migrate-db, then systemctl restart HmtDB (with sudo if needed).
HmtDB is served using gunicorn; please ask your system admin for help about this.