Content database for Minetest mods, games, and more
Go to file
2019-01-29 00:49:44 +00:00
app Add download counting 2019-01-29 00:49:44 +00:00
migrations Add download counting 2019-01-29 00:49:44 +00:00
.gitignore Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
config.example.cfg Add email on Flask error 2018-07-06 22:55:55 +01:00
docker-compose.yml Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
Dockerfile Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
LICENSE.txt Update README 2018-03-24 19:12:02 +00:00
README.md Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
requirements.txt Update to Flask 1.0 2018-12-22 23:03:38 +00:00
rundebug.sh Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
runprod.sh Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
runprodguni.sh Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
setup.py Add Docker support 2019-01-09 21:58:11 +00:00

Content Database

Content database for Minetest mods, games, and more.

Developed by rubenwardy, license GPLv3.0+.

How-tos

Note: you should first read one of the guides on the Github repo wiki

# Run celery worker
FLASK_CONFIG=../config.cfg celery -A app.tasks.celery worker

# if sqlite
python setup.py -t
rm db.sqlite && python setup.py -t && FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db stamp head

# Create migration
FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db migrate

# Run migration
FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db upgrade

# Enter docker
docker exec -it contentdb_app_1 bash