INACTIVE - http://mzl.la/ghe-archive - The information pages about the Spark campaign after its end of life.
Перейти к файлу
Guigui 18a2e50043 Bug 660010: Download Firefox button now includes '-FREE'. Sentence below has been removed. Doesn't affect locales which don't have a translation available for the new string 2011-05-27 20:05:14 +02:00
apps Bug 660010: Download Firefox button now includes '-FREE'. Sentence below has been removed. Doesn't affect locales which don't have a translation available for the new string 2011-05-27 20:05:14 +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 660010: Download Firefox button now includes '-FREE'. Sentence below has been removed. Doesn't affect locales which don't have a translation available for the new string 2011-05-27 20:05:14 +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 Bug 659661: moved mobile stylesheets to the same root folder and corrected img paths 2011-05-25 18:33:22 +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