Giter Site home page Giter Site logo

arroway / wprevents Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ppapadeas/wprevents

0.0 2.0 1.0 2.45 MB

WPR Events tool

License: BSD 3-Clause "New" or "Revised" License

Shell 0.20% Python 93.29% JavaScript 2.69% CSS 3.06% Makefile 0.31% Puppet 0.45%

wprevents's Introduction

WPR Events

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.

Installation steps (production)

  • 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
  • Upgrade pip: pip install -U pip
  • pip install -r requirements/compiled.txt
  • cp 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 client
  • npm install
  • npm install -g gulp
  • gulp build-prod
  • Make sure the Apache mod_wsgi is installed
  • Configure an Apache VirtualHost directive as described here: http://playdoh.readthedocs.org/en/latest/operations.html
  • Restart Apache

Stage server

  • (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

Adding a privileged user

  • ./manage.py createsuperuser and enter the user's email address.

wprevents's People

Contributors

jbmusso avatar glecollinet avatar sork avatar akatsoulas avatar ppapadeas avatar

Watchers

 avatar James Cloos avatar

Forkers

metamatik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.