Open kshitijrajsharma opened 1 year ago
Standard instance on Azure with the following configuration.
Root disk: 32GB (mounted on /
)
Data disk: 200 GB (mounted to /data
)
CREATE DATABASE exports
CREATE EXTENSION postgis
Create OAuth1 application in OSM with Read preferences in scope. Redirect URI = https://export-stage.hotosm.org/authorized
cd ui
npm run dist
cd ..
python manage.py collectstatic
Added supporting systemd files and corresponding timers and env files in this PR: https://github.com/hotosm/osm-export-tool/pull/495
Export tool requires a specific (and unfortunately unsupported) version of Python to function. Old Python versions can be managed using miniconda.
$ curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda-setup.sh
$ chmod +x miniconda-setup.sh && ./miniconda-setup.sh
$ export PATH=$PATH:/home/user/miniconda3/bin
$ conda config --set auto_activate_base false
$ conda create --name exports python=3.6.10 rasterio gdal rtree
$ conda activate exports
(exports) $ python --version
Python 3.6.10 :: Anaconda, Inc.
Suggested changes to env vars:
Via review to PR: https://github.com/hotosm/osm-export-tool/pull/498 And by issue: https://github.com/hotosm/osm-export-tool/issues/499
Discovered that data is being shipped to Sentry using an old outdated python library called Raven. Requested removal: https://github.com/hotosm/osm-export-tool/issues/500
Stage server should be pointed to this URL : https://export-staging.hotosm.org/ , Currently it is broken and we are trying to setup fresh with raw-data-api