OSM validator
- Run
python init_env.py
, read and enter required data (OSM Consumer Key and Consumer Secret)
NOTE: Read about openstreetmap OAuth credentials: https://wiki.openstreetmap.org/wiki/OAuth
NOTE: You can find .env
sample in .env.template
and .env.test
files
Deploy cover database initiation, initial migration, services running.
NOTE: first run can take some time for initialization
git clone git@github.com:tbicr/osm-validator.git
cd osm-validator
python3 init_env.py
docker-compose up -d
- python 3.6
- postgres + postgis + hstore
- redis
- osm2pgsql
- osmconvert (osmctools)
- nodejs
export $(cat .env.test | xargs) && tox
npm install
node_modules/.bin/webpack
export $(cat .env | xargs) && alembic upgrade head
export $(cat .env | xargs) && python schedule.py
export $(cat .env | xargs) && python main.py