Skip to content

auto-mat/prahounakole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b7614f5 · Aug 27, 2024
Nov 2, 2021
Aug 27, 2024
Mar 16, 2023
May 10, 2023
Nov 30, 2016
Aug 21, 2023
Sep 5, 2016
Aug 17, 2016
Aug 25, 2020
Apr 13, 2020
Aug 25, 2020
Nov 3, 2021
May 10, 2023
Nov 11, 2015
Aug 21, 2023
Aug 21, 2023
Mar 16, 2023
Mar 16, 2023
May 20, 2021
Apr 13, 2020
Mar 10, 2021
Apr 13, 2020
Apr 13, 2020
Sep 15, 2020
Feb 16, 2021
Nov 30, 2016
Mar 20, 2021
Apr 10, 2021
Apr 14, 2020
Oct 5, 2016

Repository files navigation

Build Status Coverage Status

Mapa městem na kole (City map by bike) django app

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.

Dependencies

  • Docker Engine
  • Docker Compose

Check docker documentation for installation instructions

Setting up the dev env

Check out and setup repo

$ git clone https://github.com/auto-mat/prahounakole.git
$ cd prahounakole

Create a .env file

$ cp docker/build-env .env
$ $EDITOR .env

Building the docker images

$ docker-compose build

Setting up the database

In a separate emulator terminal window:

$ ./dev/develop.sh
$ ./dev/setup.sh

Launching the development webserver

$ ./dev/develop.sh
$ python3 manage.py runserver 0.0.0.0:8001

Open the web app

Go to http://localhost:8033/.

Rebuilding the docker images

Before rebuilding images remove .venv directory symlink:

$ unlink .venv

Setting up superuser account

$ ./dev/develop.sh
$ python3 manage.py createsuperuser

Go to http://localhost:8033/admin.