INACTIVE - http://mzl.la/ghe-archive - The information pages about the Spark campaign after its end of life.
Перейти к файлу
Guigui 14d4c92d68 Bug 662681: correct image for Facebook sharing 2011-06-09 13:32:01 +02:00
apps Bug 662681: correct image for Facebook sharing 2011-06-09 13:32:01 +02:00
bin Remove migrations from update script (this app has no DB). 2011-05-24 12:09:36 -07:00
lib Initial commit 2011-05-18 17:25:42 +02:00
media Bug 662681: correct image for Facebook sharing 2011-06-09 13:32:01 +02:00
migrations Initial commit 2011-05-18 17:25:42 +02:00
requirements Initial commit 2011-05-18 17:25:42 +02:00
templates Set up mobile site templates 2011-05-22 15:14:37 +02:00
vendor@907fa39cda Added vendor lib submodule 2011-05-18 17:35:32 +02:00
wsgi Initial commit 2011-05-18 17:25:42 +02:00
.gitignore Initial commit 2011-05-18 17:25:42 +02:00
.gitmodules Added vendor lib submodule 2011-05-18 17:35:32 +02:00
LICENSE Initial commit 2011-05-18 17:25:42 +02:00
README.md Initial commit 2011-05-18 17:25:42 +02:00
__init__.py Initial commit 2011-05-18 17:25:42 +02:00
manage.py Initial commit 2011-05-18 17:25:42 +02:00
settings.py Set the correct Responsys ID for the mobile newsletter 2011-06-07 18:43:57 +02:00
settings_local.py-dev Initial commit 2011-05-18 17:25:42 +02:00
settings_local.py-dist Initial commit 2011-05-18 17:25:42 +02:00
urls.py Initial commit 2011-05-18 17:25:42 +02:00

README.md

Spark EOL

Spark End-Of-Life desktop and mobile websites.

Based off Mozilla's Playdoh and Spark.

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)

  • git clone --recursive git://github.com/mozilla/spark-eol.git
  • 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

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/
  • 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/
  • Run: ./bin/update_site.py -e prod