A fork of the original contentdb, codenamed "Okapi".
Go to file
rubenwardy 3c8a8b8988 Fix name field always being readonly 2019-07-29 21:03:04 +01:00
app Fix name field always being readonly 2019-07-29 21:03:04 +01:00
migrations Add website and donation support 2019-07-02 00:45:16 +01:00
.gitignore 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
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
requirements.txt Add fulltext search support 2019-01-29 03:00:01 +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 fulltext search support 2019-01-29 03:00:01 +00:00

README.md

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