/safe-path

Crime Prdiction and Safest Path Evaluation

Primary LanguageJupyter Notebook

SafeHER

Safest possible routes for women.

Deploy

Deploy

Development Workflow

Setup your development environment

Prerequisites

python 3.7+
node 10.x.x+
npm 5.x+
pipenv
  1. Fork and clone this repo.
$ git clone https://github.com/iknoorjobs/safe-path.git
  1. Change working directory into the repo, activate your virtual environment and install the backend dependencies.
$ cd safeher
$ pipenv shell
(env) $ pipenv install
  1. Change the working directory into the frontend react app and install the frontend dependencies.
(env) $ cd frontend
(env) $ npm install
  1. Start the django development server
(env) $ cd ..
(env) $ python manage.py runserver
  1. Run the frontend app in another shell
(env) $ cd frontend
(env) $ npm run watch
  1. Open http://localhost:8000/ in your browser.

  2. Add a new remote to your fork if you want to contribute

git remote add myfork https://github.com/<username>/safeher.git