Skip to content

What's your favourite question? Follow twitter.com/favouriteq for daily questions, this web app aggregate the answers...

Notifications You must be signed in to change notification settings

MadeByLoosers/favouriteQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#favouriteQ

What's your favourite question?

Follow @favouriteq for daily questions

Another Gunt London production


##Installation

###Database

Create a mysql database called favouriteq

Create tables for apps that aren't using south

./manage.py syncdb

Create tables for apps that are using south. Data will be loaded from fixtures

./manage.py migrate

During development developers should continue to run the ./manage.py migrate command to keep their DB up to date.

###Virtual environment

Create virtual environment

virtualenv --no-site-packages env

(if you don't have virtualenv, install it: sudo pip install virtualenv)

(if you don't have pip, install it: sudo easy_install pip)

Activate virtual environment

source env/bin/activate

###Dependencies

From the root

pip install -r requirements/requirements.txt

###Run

From the root

cd favouriteQ
python manage.py runserver

Open http://127.0.0.1:8000/ in a browser

###Deploy Live

Note you will need to have installed requirements so you have fabric on your machine.

From the root

cd favouriteQ
fab production deploy

If you want less verbose output

fab production deploy --hide=stdout

About

What's your favourite question? Follow twitter.com/favouriteq for daily questions, this web app aggregate the answers...

Resources

Stars

Watchers

Forks

Packages

No packages published