README.md 748 Bytes
Newer Older
Jamesie Pic's avatar
Jamesie Pic committed
1 2
[![Build Status](https://travis-ci.org/political-memory/political_memory.svg?branch=master)](https://travis-ci.org/political-memory/political_memory)

3
    git clone git@github.com:political-memory/political_memory.git
Bram's avatar
Bram committed
4

5
    cd political_memory
Bram's avatar
Bram committed
6

Jamesie Pic's avatar
Jamesie Pic committed
7 8
    cp memopol/config.json.sample memopol/config.json

9
    # Create a throwable virtualenv
Bram's avatar
Bram committed
10 11 12
    virtualenv ve
    source ve/bin/activate

13
    # Install python requirements
Bram's avatar
Bram committed
14
    pip install -r requirements.txt
Bram's avatar
Bram committed
15

16
    # Create the local db
17
    python manage.py migrate
18 19 20 21 22 23 24

    # Some static files
    bower install

    # Install node modules
    npm install

25 26
    # Build static files
    node_modules/gulp/bin/gulp.js less
27 28 29

    # In another terminal (don't forget to activate the venv)
    ./manage.py runserver