INACTIVE - http://mzl.la/ghe-archive - The information pages about the Spark campaign after its end of life.
Перейти к файлу
Guigui 8eaa9cf277 Basic fallbacks for IE 2011-05-24 10:45:40 +02:00
apps Replaced leaderboard hard-coded list with template code 2011-05-24 10:10:43 +02:00
bin Initial commit 2011-05-18 17:25:42 +02:00
lib Initial commit 2011-05-18 17:25:42 +02:00
media Basic fallbacks for IE 2011-05-24 10:45:40 +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 Added modernizr 2011-05-24 01:27:08 +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