dkocich / gtfsintegrate

Main repository

Home Page:https://gtfsintegrate.herokuapp.com/gtfs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gtfsintegrate

This is the main Google Summer of Code 2018 - GTFS2OSM Integration Tool project repository.

Requirements

This application requires several tools to run it. These tools are:

How to start

  1. clone the project with

git clone git@github.com:sriks123/gtfsintegrate.git

 Extra steps if you want to contribute back:
 ```git config --global --edit```
 ```ssh-keygen -t rsa -b 4096 -C "your@email.domain"```
 ```cat ~/.ssh/id_rsa.pub```

 Copy this to your github.com settings, add ssh key
  1. setup database (only once) username is the existing postgres user which is already created bash scripts/create_user_db.sh username

  2. install and run project:

    • sudo apt install make
    • run make prepare-dev to install all relevant packages (it also runs make venv internally (this will create a virtualenv inside the project).) (run only once)
    • run command make lint to check for any errors which can cause problems
    • run command make setup - this will install all the dependencies from requirements.txt file)
    • create and setup geodjango/settings_secret.py with settings based on the template in the same folder
    • run command make run - this will makemigrations and migrate into database (needs to be looked into) and run the app on port 8000)

About

Main repository

https://gtfsintegrate.herokuapp.com/gtfs/


Languages

Language:Python 46.5%Language:JavaScript 38.8%Language:CSS 9.5%Language:HTML 4.7%Language:Shell 0.3%Language:Makefile 0.2%Language:Dockerfile 0.0%