README.md 597 Bytes
Newer Older
1
    git clone git@github.com:political-memory/political_memory.git
Bram's avatar
Bram committed
2

3
    cd political_memory
Bram's avatar
Bram committed
4

Jamesie Pic's avatar
Jamesie Pic committed
5 6
    cp memopol/config.json.sample memopol/config.json

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

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

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

    # Some static files
    bower install

    # Install node modules
    npm install

23 24
    # Build static files
    node_modules/gulp/bin/gulp.js less
25 26 27

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