Skip to content

jasonthomas/affiliates

 
 

Repository files navigation

Affiliates

This is the new home for the Mozilla affiliates program.

Deployment Notes

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

Developer Setup

  1. (Recommended) Set up a virtualenv for the project.
  2. git clone --recursive git://github.com/mozilla/affiliates.git
  3. pip install -r requirements/compiled.txt
  4. Set up a MySQL Database
  5. Copy settings/local.py-dist to settings/local.py and edit it.
    • Enter the connection info for the database you set up.
    • Set DEBUG and DEV both to True.
  6. Run schematic migrations
    • DO NOT RUN syncdb. Migrations handle initial setup.
    • You can use the vendor libraries: ./vendor/src/schematic/schematic migrations
  7. python manage.py runserver
    • Run python manage.py createsuperuser if you want to create an admin account.

Contributing

Patches are welcome! Affiliates is a playdoh-based web application.

License

This software is licensed under the New BSD License. For more information, read the file LICENSE.

About

A cozy new home for the former SpreadFirefox affiliates program.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.6%
  • JavaScript 16.1%
  • Other 1.3%