matthieuchoplin / weatherama

What's the weather like?

Home Page:http://52.208.195.42:8002/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

To start the project in development mode:

sudo apt-get update
sudo apt-get install git
sudo apt-get install python-pip python3 python3-dev libpq-dev
sudo pip install virtualenv
virtualenv venv -p  /usr/bin/python3
source venv/bin/activate
git clone git@github.com:matthieuchoplin/weatherama.git
cd weatherama/
pip install -r requirements.txt
sudo apt-get install npm
sudo npm install -g bower
sudo ln -s /usr/bin/nodejs /usr/bin/node
./manage.py bower_install
./manage.py collectstatic --no-input
./manage.py migrate
./manage.py runserver 0.0.0.0:8002

=> this could be put in a Vagrantfile

In the settings.py, you need to populate a FORECAST_API_KEY that you will get by registering an account on https://developer.forecast.io/

Run tests with code coverage:

coverage3 run --source='.' manage.py test tests.weatherconnect
coverage3 report

About

What's the weather like?

http://52.208.195.42:8002/


Languages

Language:JavaScript 92.4%Language:CSS 5.6%Language:Python 1.7%Language:HTML 0.3%