forked from osm-fr/osmose-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Part of osmose that shows results on the website http://osmose.openstreetmap.fr
License
sidjy/osmose-frontend
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Frontend part of Osmose tool ============================ This is the part of osmose [http://osmose.openstreetmap.fr] that shows errors on a map. Dependencies ------------ python >= 2.6 recommended and < 3 python-psycopg2 >= 2.4 python-matplotlib >= 1.1 python-requests >= 2.0 python-beaker >= 1.6 python-imaging python-polib librsvg2-bin # to generate markers with rsvg apache2 gettext libapache2-mod-wsgi postgresql-9.1 postgresql-contrib-9.1 # for hstore extension Initialisation -------------- - as postgres user createdb osmose_frontend psql osmose_frontend -c "CREATE EXTENSION hstore" psql osmose_frontend -c "GRANT CREATE ON DATABASE osmose_frontend TO osmose;" psql osmose_frontend -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql psql osmose_frontend -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql - check db parameter into tools/utils.py and as default user (cd po && make mo) # to generate translation files git submodule update --init # to get Mustache javascript library psql osmose_frontend -f tools/database/schema.sql # for postgresql database tables - to update all git submodules, which contains javascript libraries git submodule update --init - when some errors are in the database, to get translations (cd tools/database/ && ./categ_menu_update.sh && ./item_menu_update.sh) - add "tools/cron.sh" to crontab, to run once per day Generation of coverage layer from backend ----------------------------------------- - on a backend repository ./tools/generate-polygons.py # generate all countries on polygons.openstreetmap.fr ./tools/generate-cover.sh # generate file osmose-cover-simplified.topojson.pbf - on a frontend repository cp ../backend/osmose-cover-simplified.topojson.pbf static/osmose-coverage.topojson.pbf.$(date +"%Y-%m-%d") ln -sf osmose-coverage.topojson.pbf.$(date +"%Y-%m-%d") osmose-coverage.topojson.pbf
About
Part of osmose that shows results on the website http://osmose.openstreetmap.fr
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 60.7%
- Python 30.4%
- Smarty 4.9%
- CSS 3.7%
- Other 0.3%