FFDN ISP Database

Gu1 4c3b4064bc Add a special field on the manual ISP creation form to input GeoJSON il y a 11 ans
ffdnispdb 4c3b4064bc Add a special field on the manual ISP creation form to input GeoJSON il y a 11 ans
.gitignore e0b442a607 Add vim swp files to the list of ignored files il y a 11 ans
AUTHORS 4c3b4064bc Add a special field on the manual ISP creation form to input GeoJSON il y a 11 ans
LICENSE 6871cede74 Add a 3-clause BSD License in the LICENSE file il y a 11 ans
README.md cc26ab6296 Fix manage db create and runserver il y a 11 ans
TODO 90bcb4d1b9 Update TODO, cosmetic changes to the map, add an empty API page il y a 11 ans
babel.cfg f280078215 Add Babel configuration file for i18n il y a 11 ans
manage.py cc26ab6296 Fix manage db create and runserver il y a 11 ans
requirements.txt 902d63273a Replace run/shell/rebuild.py with a generic manage.py build with Flask-Script il y a 11 ans
schema.sql ad5dd37db4 Add labels il y a 12 ans
settings_dev.py 44978d076d Switch to the Application Factory pattern and Blueprints il y a 11 ans
settings_prod.py.dist 90bcb4d1b9 Update TODO, cosmetic changes to the map, add an empty API page il y a 11 ans
test_ffdnispdb.py 42e52d051f Shiny new REST API with Documentation and Unit tests il y a 11 ans
variables.less 2c57a65651 Add a search input in navbar and a hover effect on nav buttons il y a 11 ans

README.md

ffdnispdb

ffdnispdb is a website designed to display all the ISPs implementing the ispschema specification.

How to deploy & use

Preferably in a virtualenv, run:

pip install -r requirements.txt
python manage.py db create
python manage.py runserver

How to translate

First, generate the template:

pybabel extract -F babel.cfg -o messages.pot ffdnispdb

Then initialize the catalog for the language you want:

pybabel init -i messages.pot -d ffdnispdb/translations -l XX

(where XX is the language code)

Once you're done translating, run:

pybabel compile -d ffdnispdb/translations

To update the catalog with the latest strings:

pybabel extract -F babel.cfg -o messages.pot ffdnispdb
pybabel update -i messages.pot -d ffdnispdb/translations