geokrety/the-mole-name

Sponsored OSS

By GeoKrety

Updated about 7 years ago

Side project from GeoKrety aimed to help us choose name for our mascot.

Image
Security
Integration & delivery
Monitoring & observability
0

1.8K

geokrety/the-mole-name repository overview

The mole without name

This side project from GeoKrety aimed to help us choose name for our mascot.

Install

We distribute a Dockerfile and docker-compose.yml to help you start.

  1. You need to have docker installed.
  2. You need to have docker-compose installed.
  3. Clone the project git clone https://github.com/geokrety/GeoKrety-mole-name.git.
  4. Copy config/custom.example.conf to config/custom.conf, and adjust to your needs.
  5. Build the docker image docker-compose build.
  6. Launch the container docker-compose up -d.

Contribute

  • Open a pull request, rebased on current master
  • If you add dependencies to other project, please add them to ATTRIBUTIONS.md

Manage translations

  • Extract translatable strings: docker exec -it geokretymascottname_geokrety-mole-name_1 pybabel extract -F babel.cfg -o app/translations/messages.pot app
  • Connect to crowdin and upload file
  • Import Translate files into code source tree
  • Compile new translations docker 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

Wanna help translate?

Nice! Please join us on crowdin https://crowdin.com/project/geokrety

Tag summary

Content type

Image

Digest

Size

192.6 MB

Last updated

about 7 years ago

docker pull geokrety/the-mole-name

This week's pulls

Pulls:

145

Last week