This is the new home for the Mozilla affiliates program.
- (Recommended) Set up a virtualenv for the project.
git clone --recursive git://github.com/mozilla/affiliates.git
pip install -r requirements/dev.txt
pip install -r requirements/compiled.txt
- Set up a MySQL Database
- Copy
settings/local.py-dist
tosettings/local.py
and edit it.- Enter the connection info for the database you set up.
- Set
DEBUG
andDEV
both toTrue
.
- Create the tables and add the necessary data
python manage.py syncdb
python manage.py migrate
python manage.py syncdata fixtures/sites.json
python manage.py runserver
- Run
python manage.py createsuperuser
if you want to create an admin account.
- Run
Patches are welcome! Affiliates is a playdoh-based web application.
This software is licensed under the New BSD License. For more
information, read the file LICENSE
.