Skip to content

Installation Script

rtucker-mozilla edited this page Nov 9, 2011 · 1 revision
#!/bin/bash
#docs on playdoh http://playdoh.readthedocs.org/en/latest/index.html
easy_install pip
pip install virtualenv
virtualenv --no-site-packages playdoh-env
cd playdoh-env
source bin/activate
#the previous line activates the virtualenv. It's like a bottle for you to run python stuff in
git clone --recursive [email protected]:rtucker-mozilla/mozilla_inventory.git inventory
cd inventory
pip install -r requirements/dev.txt
pip install -r requirements/compiled.txt
pip install -r requirements/prod.txt
#When you're done in the virtualenv you can just type deactivate
#Then to run the project ./manage.py runserver 0.0.0.0:8080
#This will error out the first time, you need to configure local.py with database connection etc
Clone this wiki locally