The backend of the VCR application, which includes the API services and a dashboard management UI.
- Django Framework with GeoDjango enabled
- PostgreSQL with PostGIS support
- Python 3
- Postgres database for storing OpenStreetMap data and VCR app data
- Download OSM data from Geofabrik
- Convert OSM’s XML-Data file to a routable database file (.sql) with osm2po
- Create a Postgres database with PostGIS and pgrouting extensions enabled
- Import the OSM sql file to the database with any SQL dump tool
Create another Postgres database for storing application data
- Clone this repo
git clone https://github.com/jason-dev1/vcr-backend.git
- Create and activate virtual environment
cd vcr-backend
pipenv shell
- Install dependencies
pipenv install
- Initialization (Update database)
python manage.py makemigrations
python manage.py migrate
python manage.py init_groups
python manage.py init_ppv
python manage.py exec_jobs
- Run the project
python manage.py runserver
Created with Django Admin feature