From 7ba432564d22875bfb06de31e288d286fb1e5994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pave=C5=82=20Ty=C5=9Blacki?= Date: Sun, 7 Jan 2018 17:37:33 +0300 Subject: [PATCH] improve readme (#26) --- README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 274cfdb..8fd8e30 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,7 @@ OSM validator - redis - osm2pgsql - osmconvert (osmctools) - -# Install front dependencies - - npm install - -# Build front application - - node_modules/.bin/webpack - -# Add OAUTH_OPENSTREETMAP_KEY && OAUTH_OPENSTREETMAP_SECRET at .env +- node # Run tests @@ -28,13 +19,25 @@ OSM validator - Generate `SECRET_KEY` (`cryptography.fernet.Fernet.generate_key()`) - Set postgres db connection - Set redis connection -- Set openstreetmap OAuth credentials (https://wiki.openstreetmap.org/wiki/OAuth) +- Set openstreetmap OAuth credentials (https://wiki.openstreetmap.org/wiki/OAuth): + + OAUTH_OPENSTREETMAP_KEY=Consumer Key there + OAUTH_OPENSTREETMAP_SECRET=Consumer Secret there + - Set osm initialization dumps: OSM_INIT_PBF=http://download.geofabrik.de/europe/belarus-180101.osm.pbf OSM_INIT_SEQUENCE_NUMBER=1749 OSM_CHANGE=http://download.geofabrik.de/europe/belarus-updates/ +# Install front dependencies + + npm install + +# Build front application + + node_modules/.bin/webpack + # Migrate export $(cat .env | xargs) && alembic upgrade head