luiseduardiazc / tusavirus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tusavirus outbreak in Colombia.

Build Status

Local Installation

Tusavirus requires Python3 v3+ to run.

Clone this repository

$ git clone https://github.com/luiseduardiazc/tusavirus.git

Create virtualenv and Install the dependencies.

$ cd tusavirus
$ python3 -m pip install --upgrade pip
$ pip3 install virtualenv
$ virtualenv venv
$ source venv/bin/activate
$(venv) pip install -r requirements.txt 

make migrations

$ ./manage.py makemigrations
$ ./manage.py migrate

Run

$ ./manage.py runserver

Run Test Cases

run test for utilities

$ ./manage.py test utilities/

For front-end first start the aplication on "http://127.0.0.1:8000/"

$ ./manage.py test tests/ 

Deployment

Creating a 'Deploy to Heroku'

Install the Heroku CLI

$ sudo snap install --classic heroku

If you haven't already, log in to your Heroku account and follow the prompts to create a new SSH public key.

$ heroku login
$ heroku create app_name
$ git add .
$ git commit -am "make it better"
$ git push heroku master

About


Languages

Language:JavaScript 50.3%Language:CSS 39.8%Language:Python 9.2%Language:HTML 0.6%Language:Shell 0.1%