ARCHIVED: A Firefox 4 campaign focused on marketing the Mobile browser product.
Перейти к файлу
sork 071d6da190 Bug 645873 - Desktop sign-in form is reset when popup is dismissed 2011-04-19 17:32:44 +02:00
apps Bug 645230 - Sharing buttons should only appear in the logged-in user dashboard 2011-04-19 17:00:32 +02:00
bin Bug 642779 - Add compile.sh step to update_site.py 2011-03-18 19:01:04 +01:00
docs Initial Spark commit 2011-02-18 00:35:39 +01:00
lib Bug 649652 - Login on mobile is now required to get the Multi-sparker badge 2011-04-14 00:04:05 +02:00
media Bug 645873 - Desktop sign-in form is reset when popup is dismissed 2011-04-19 17:32:44 +02:00
migrations Bug 649652 - Login on mobile is now required to get the Multi-sparker badge 2011-04-14 00:04:05 +02:00
requirements Moving PIL from spark-lib to requirements/compiled.txt 2011-04-12 00:05:24 +02:00
templates Bug 647860 - Boost notifications in the mobile menu 2011-04-19 16:38:14 +02:00
vendor@907fa39cda Moving PIL from spark-lib to requirements/compiled.txt 2011-04-12 00:05:24 +02:00
wsgi Renamed playdoh.wsgi to spark.wsgi. Fixed ajax_required decorator's indentation 2011-02-19 18:12:33 +01:00
.gitignore Initial commit of the global visualizer 2011-03-21 16:04:33 +01:00
.gitmodules Added spark-lib as a git submodule for the vendor dir. 2011-03-08 01:08:21 +01:00
LICENSE Initial Spark commit 2011-02-18 00:35:39 +01:00
README.md Bug 648097: Updated documentation for prod 2011-04-11 23:30:54 +02:00
__init__.py Initial Spark commit 2011-02-18 00:35:39 +01:00
manage.py Initial Spark commit 2011-02-18 00:35:39 +01:00
settings.py Facebook App ID is now configurable in settings_local.py. Default ID in settings.py for the stage server. 2011-04-18 16:52:10 +02:00
settings_local.py-dev Initial poster generation code + spark-lib update for new dependencies 2011-04-09 14:59:23 +02:00
settings_local.py-dist Facebook App ID is now configurable in settings_local.py. Default ID in settings.py for the stage server. 2011-04-18 16:52:10 +02:00
urls.py Initial poster generation code + spark-lib update for new dependencies 2011-04-09 14:59:23 +02:00

README.md

Spark

Spark desktop and mobile campaign websites.

Based off Mozilla's Playdoh web application template, Spark is hosted on github.

Python dependencies are in the spark-lib repository also hosted on github.

Please refer to Playdoh's docs for more information.

Getting started (all environments)

Important: clone into a directory with a different name than spark, or else there will be a conflict with a django app named spark.

  • git clone --recursive git://github.com/mozilla/spark.git my_spark
  • Optional: create a virtualenv before running the step below
  • pip install -r requirements/compiled.txt

Dev installation

  • Refer to 'Getting started' above

  • cp settings_local.py-dev settings_local.py

  • Configure the database in settings_local.py

  • ./vendor/src/schematic/schematic migrations/

  • ./manage.py runserver

  • Enabling Celery tasks: ./manage.py celeryd

  • For optional test data, run from mysql: source lib/staging/test-data.sql

When the dev installation is complete:

Stage installation

  • Refer to 'Getting started' above
  • cp settings_local.py-dist settings_local.py
  • Configure all required settings in settings_local.py for stage
  • Run migrations: ./vendor/src/schematic/schematic migrations/
  • Import test data in mysql: source lib/staging/test-data.sql
  • Set up the Celery server (Celery settings are in settings.py)
  • Run celeryd
  • Set up a cron job: ./bin/update_site.py -e stage

Production installation

  • Refer to 'Getting started' above
  • cp settings_local.py-dist settings_local.py
  • Configure all required settings in settings_local.py for production
  • Run migrations: ./vendor/src/schematic/schematic migrations/
  • Set up the Celery server (Celery settings are in settings.py)
  • Run celeryd
  • Run: ./bin/update_site.py -e prod