install-reddit: Add reddit-serve helper script

Runs the app in the terminal so you can see logs and use pdb.
This commit is contained in:
Matt Lee
2016-01-20 00:42:12 -05:00
parent f900cf0e7b
commit 06ebd786a2

View File

@@ -245,6 +245,11 @@ helper-script /usr/local/bin/reddit-flush <<REDDITFLUSH
echo flush_all | nc localhost 11211
REDDITFLUSH
helper-script /usr/local/bin/reddit-serve <<REDDITSERVE
#!/bin/bash
exec paster serve --reload $REDDIT_SRC/reddit/r2/run.ini
REDDITSERVE
###############################################################################
# pixel and click server
###############################################################################