Installing Basket |
---|
Requirements |
- Python >= 2.7, < 3
- MySQL (only for prod)
git clone git@github.com:mozmeao/basket.git --recursive
The --recursive is important!
Using virtualenvwrapper:
mkvirtualenv --python=python2.7 basket
pip install -r requirements/default.txt
If you'll be using MySQL for the database:
pip install -r requirements/compiled.txt
For developers:
pip install -r requirements/dev.txt
Settings are discovered in the environment. You can either provide them via environment variables or by providing those variables in a .env
file in the root of the project (along side of manage.py
). To get started you can copy env-dist
to .env
and that will provide the basics you need to run the site and the tests.
./manage.py migrate