INACTIVE - http://mzl.la/ghe-archive - The information pages about the Spark campaign after its end of life.
Перейти к файлу
Guigui ea878e570f Bug 660011: removed bottom padding to newsletter form 2011-05-30 17:51:45 +02:00
apps
bin
lib
media Bug 660011: removed bottom padding to newsletter form 2011-05-30 17:51:45 +02:00
migrations
requirements
templates
vendor@907fa39cda
wsgi
.gitignore
.gitmodules
LICENSE
README.md
__init__.py
manage.py
settings.py
settings_local.py-dev
settings_local.py-dist
urls.py

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