Skip to content

Commit

Permalink
Renamed runserver.py to app.py. Closes #63
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Feb 28, 2024
1 parent be0b92f commit 21ee8d1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ $ poetry install --no-dev
$ poetry shell
$ pybabel compile -d newspipe/translations
$ export NEWSPIPE_CONFIG=sqlite.py
$ export FLASK_APP=runserver.py
$ export FLASK_DEBUG=1
$ flask db_init
$ flask create_admin --nickname <nickname> --password <password>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion newspipe/lib/misc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def fetch(id, feed_id=None):
The default crawler ("asyncio") is launched with the manager.
"""
env = os.environ.copy()
env["FLASK_APP"] = "runserver.py"
env["FLASK_APP"] = "app.py"
cmd = [
sys.exec_prefix + "/bin/flask",
"fetch_asyncio",
Expand Down

0 comments on commit 21ee8d1

Please sign in to comment.