diff --git a/.gitignore b/.gitignore index ff979f6..9e08579 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,12 @@ __pycache__/ dist/ build/ .pytest_cache/ +.superpowers/ +docs/superpowers/ + + +.cursor/ +.vscode/ +chat-summaries/ + +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 97d0e06..7ee4370 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Generates weekly ePub "newspapers" from the [Plymouth Independent](https://www.p python -m venv .venv source .venv/bin/activate pip install -r requirements.txt -python app.py +python run.py ``` Open http://localhost:5000 in your browser. diff --git a/app.py b/app.py index 9ba05b2..2e7a3f1 100644 --- a/app.py +++ b/app.py @@ -35,8 +35,3 @@ def create_app(start_scheduler=True): app.config["SCHEDULER_MANAGER"] = scheduler_mgr return app - - -if __name__ == "__main__": - app = create_app() - app.run(host="0.0.0.0", port=5000, debug=False) diff --git a/run.py b/run.py new file mode 100644 index 0000000..f05fbe1 --- /dev/null +++ b/run.py @@ -0,0 +1,4 @@ +from app import create_app + +app = create_app() +app.run(host="127.0.0.1", port=5005, debug=False)