From 77c117e91910f7f8732e7191930f611349d7207f Mon Sep 17 00:00:00 2001 From: Josh Humphries Date: Mon, 15 Apr 2019 12:29:23 +0100 Subject: [PATCH] Move uwsgi.ini to example to avoid conflicting with live uwsgi.ini files --- README.md | 4 ++-- uwsgi.ini => uwsgi.ini.example | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename uwsgi.ini => uwsgi.ini.example (100%) diff --git a/README.md b/README.md index 6f67191..385f4c0 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ And that's it. The main Flask app is located in `maps/web.py` and should be run under [uwsgi](https://uwsgi-docs.readthedocs.io/en/latest/). From within the virtualenv, simply run: ```bash -uwsgi uwsgi.ini +uwsgi --ini uwsgi.ini.example ``` to start the server with the default app and uwsgi settings. @@ -47,7 +47,7 @@ Hence, _for test and development purposes only_ you can start the server with: ```bash python -m maps.web.py ``` -With the default settings, this will start a server running at `0.0.0.0:5000`. +With the default settings, this will start a server running at `0.0.0.0:4000`. #### Running in production For production you should run the `uwsgi` server, probably behind `nginx`. diff --git a/uwsgi.ini b/uwsgi.ini.example similarity index 100% rename from uwsgi.ini rename to uwsgi.ini.example