mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
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:
@@ -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
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user