Side project from GeoKrety aimed to help us choose name for our mascot.
1.8K
This side project from GeoKrety aimed to help us choose name for our mascot.
We distribute a Dockerfile and docker-compose.yml to help you start.
docker installed.docker-compose installed.git clone https://github.com/geokrety/GeoKrety-mole-name.git.config/custom.example.conf to config/custom.conf, and adjust to your needs.docker-compose build.docker-compose up -d.ATTRIBUTIONS.mddocker exec -it geokretymascottname_geokrety-mole-name_1 pybabel extract -F babel.cfg -o app/translations/messages.pot appdocker exec -it geokretymascottname_geokrety-mole-name_1 pybabel compile -d app/translations/To initialize a new language, declare it in app/main.py, and launch docker exec -it geokretymascottname_geokrety-mole-name_1 pybabel init -i app/translations/messages.pot -d app/translations -l <lang_code>
Note: Norwegian have a problem, locale is recognized as nb. See https://github.com/python-babel/flask-babel/issues/61
Nice! Please join us on crowdin https://crowdin.com/project/geokrety
Content type
Image
Digest
Size
192.6 MB
Last updated
about 7 years ago
docker pull geokrety/the-mole-namePulls:
145
Last week