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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
April Fools 2017
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
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()