An event list/calendar that aggregates updated information about Mozilla events happening in all spaces around the world and on Air Mozilla so that people know what is happening, where, and when.
- Clone the repo:
git clone --recursive https://github.com/ppapadeas/wprevents cd wprevents- Assuming you have virtualenv and virtualenvwrapper installed:
mkvirtualenv wprevents- If you don't have virtualenv(wrapper) you can install them:
pip install virtualenvwrapper
- If you don't have virtualenv(wrapper) you can install them:
- Upgrade pip:
pip install -U pip pip install -r requirements/compiled.txtcp wprevents/settings/local.py-dist wprevents/settings/local.py- Configure variables in
wprevents/settings/local.py:- Set DEV, DEBUG and TEMPLATE_DEBUG to False
- Set a value for SECRET_KEY, HMAC_KEYS and SITE_URL
- Assuming you have MySQL installed, start the MySQL service and create a database in the mysql console:
create database wprevents; ./manage.py update_product_details./manage.py syncdb- Make sure you have node.js and npm installed.
cd clientnpm installnpm install -g gulpgulp build-prod- Make sure the Apache
mod_wsgiis installed - Configure an Apache VirtualHost directive as described here: http://playdoh.readthedocs.org/en/latest/operations.html
- Restart Apache
- (optional) Add fake events:
./manage.py loaddata data/dummy-events.json - Set up a cron job running this command:
./bin/update_site.py -e stage
./manage.py createsuperuserand enter the user's email address.