def dbseed(): """ Expand Reddit Meme Database for a Subreddit into the Future """ with APP.app_context(): Simulator().dbseed() return None
def main(): APP.run(port=8080)
from controller import APP def main(): APP.run(port=8080) if __name__ == "__main__": APP.run()
from controller import APP from controller.reddit.controller import RedditController if __name__ == "__main__": with APP.app_context(): RedditController().update(full=True)
def main(): APP.run(threaded=False)
from controller import APP def main(): APP.run(threaded=False) if __name__ == "__main__": APP.run(threaded=False)