This is the new home for the Mozilla affiliates program.
- Do not run syncdb when setting up a new copy of Affiliates. All database setup is taken care of by schematic migrations.
- Post-push steps:
git submodule update --init- Update or initialize any new submodules../vendor/src/schematic/schematic migrations- Run new migrations.manage.py compress_assets- Generate bundled CSS and JS.
- (Recommended) Set up a virtualenv for the project.
git clone --recursive git://github.com/mozilla/affiliates.git- pip install -r requirements/compiled.txt
- Set up a MySQL Database
- Copy
settings/local.py-disttosettings/local.pyand edit it.- Enter the connection info for the database you set up.
- Set
DEBUGandDEVboth toTrue.
- Run schematic migrations
- DO NOT RUN
syncdb. Migrations handle initial setup. - You can use the vendor libraries:
./vendor/src/schematic/schematic migrations
- DO NOT RUN
python manage.py runserver- Run
python manage.py createsuperuserif 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.