forked from bsmedberg/mozilla-weekly-updates
The Mozilla status-sharing site.
clopez/mozilla-weekly-updates
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Requirements ------------ * Python * Cherry Pie * Genshi * Routes * MySQL * MySQL for Python * python-markdown2 * PyBrowserID Install and Config of Prereqs ----------------------------- These instructions are currently OSX specific. 1. Python Python is preinstalled on OSX. 2. Cherry Pie a. Download from http://download.cherrypy.org/cherrypy/3.2.2/ b. Installation instructions at http://docs.cherrypy.org/stable/intro/install.html 3. Genshi sudo easy_install Genshi 4. Routes sudo easy_install Routes 5.MySQL a. Download from http://dev.mysql.com/downloads/mysql/ b. Run the dmg installer c. Launch MySQL sudo /usr/local/mysql/bin/mysqld_safe d. Create a MySQL user mysql --user=root mysql CREATE USER 'user'@'localhost' IDENTIFIED BY 'pass'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost' WITH GRANT OPTION; e. Set up MySQL client sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib 6. MySQL for Python a. Download from http://sourceforge.net/projects/mysql-python/ b. Follow installation instructions in INSTALL 7. python-markdown2 a. clone from https://github.com/trentm/python-markdown2 b. sudo python setup.py install (pass --user to install it without sudo) 8. PyBrowserID a. either easy_install PyBrowserID or b. clone https://github.com/mozilla/PyBrowserID and python setup.py install Weekly Updates Config --------------------- 1. Create the database run mysql dbschema.sql 2. Make a config file a. cp weeklyupdates.config.sample weeklyupdates.config b. Update host to localhost and specify user and passwd 3. Create directory specified in config file tools.sessions.storage_path Launch Weekly Updates --------------------- python start.py -a weeklyupdates.config
About
The Mozilla status-sharing site.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 89.3%
- CSS 7.3%
- JavaScript 3.3%
- Shell 0.1%