reddit/reddit-plugin-place-opensource

Name: reddit-plugin-place-opensource

Owner: Reddit

Description: place

Created: 2017-04-12 02:40:43.0

Updated: 2018-05-15 12:35:45.0

Pushed: 2017-04-15 14:17:00.0

Homepage: null

Size: 210

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

place

April Fools 2017

Installation

Install the plugin itself.

/src/place
on setup.py build
 python setup.py develop

Then add the plugin to your ini file:

######################################## PLUGINS
ich plugins are enabled (they must be installed via setup.py first)
gins = about, liveupdate
gins = about, liveupdate, place

Update your development.update file:

ce_redis_url = redis://localhost:6380/

Finally, you'll need redis running. You can run it in the background or in a screen session, or set up some fancy upstart stuff if you're crazy.

 http://download.redis.io/redis-stable.tar.gz
xvzf redis-stable.tar.gz
edis-stable

Then run:

redis-server --port 6380
Restoring the Board

In case redis needs to be restarted or gets cleared for whatever reason, you can re-load the board from Cassandra:

 reddit_place.lib import restore_redis_board_from_cass
ore_redis_board_from_cass()

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.