Cycle map of the Django application City by bike developed by the non-profit Auto*mat organization in the Czech Republic.
It brings you the best selection of practical cycling routes around the area Prague. The routes in the cycle map expand the existing network of marked cycle routes by suitable routes throughout Prague, including the center. Routes are a selection of secondary ones alleys, park paths, unused sidewalks and funny shortcuts.
This readme file is intended to document how to develop the code.
City map by bike app is designed to use Python 3.9 and Django 2.28.
- Docker Engine
- Docker Compose
Check docker documentation for installation instructions
$ git clone https://github.com/auto-mat/prahounakole.git
$ cd prahounakole
$ cp docker/build-env .env
$ $EDITOR .env
$ docker-compose build
In a separate emulator terminal window:
$ ./dev/develop.sh
$ ./dev/setup.sh
$ ./dev/develop.sh
$ python3 manage.py runserver 0.0.0.0:8001
Go to http://localhost:8033/
.
Before rebuilding images remove .venv directory symlink:
$ unlink .venv
$ ./dev/develop.sh
$ python3 manage.py createsuperuser
Go to http://localhost:8033/admin
.