DEPRECATED - This projects has been retired.
Перейти к файлу
alex bisceglie 8adb8e1fcc merging in updates to initial 2011-03-24 13:09:20 -07:00
ffdemo merging in updates to initial 2011-03-24 13:09:20 -07:00
.gitignore merging in updates to initial 2011-03-24 13:09:20 -07:00
README First commit. 2011-02-14 14:43:03 -08:00
README.md merging in updates to initial 2011-03-24 13:09:20 -07:00
app.wsgi initial commit 2011-03-23 22:28:32 -07:00
bootstrap.sh initial commit 2011-03-23 22:28:32 -07:00

README.md

Markup

Firefox MarkUp is a [Django][Django]-based web application... [Django]: http://www.djangoproject.com/

Getting Started

Python

You need Python 2.6. Also, you probably want to run this application in a virtualenv environment

Dependencies

run

  easy_install pip

followed by

  ./bootsrap.sh

Django

South is used for migrations, so to sync the db, run

  manage.py syncdb

and to run the migs

  manage.py migrate

Then run the invite-generation script. generate_invites.py takes two vars: number of invites to generate, and type of invites to generate. invite-types are 't' for translator, or 'c' for contributor.

for 5 translator invites, run manage.py generate_invites 5 t for 10 contributor invites, run manage.py generate_invites 10 c

For production environments, uncomment the following in settings: # CACHE_BACKEND = 'caching.backends.memcached://localhost:11211?timeout=500'

# SESSION_COOKIE_SECURE = True
# SESSION_COOKIE_HTTPONLY = True

and set REDIRECT_TO_SSL = True