- Create a Python virtualenv.
- Run
pip install -r requirements-dev.txt
. - Run
pip install -e .
(current directory being the repository root). - Create a runtime folder and copy
example-config.py
inside, renamed toconfig.py
. - Set a random value to the
SECRET_KEY
configuration option. - Set an environment variable
OSMPOINT_WORKDIR
to point to the runtime folder created above. - Run tests with
nosetests
, ornosetests --with-redis
(which starts a single shared Redis process for all the tests) - Run the server with
osmpoint runserver
, orosmpoint runserver --with-redis
(which starts a Redis server in the background).
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.