Installing Basket


  • Python >= 2.7, < 3
  • MySQL (only for prod)


Get the code

git clone --recursive

The –recursive is important!

Make a virtualenv

Using virtualenvwrapper:

mkvirtualenv --python=python2.7 basket

Install packages

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 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.

Database schema

./ migrate