Skip to content

Commit

Permalink
Move uwsgi.ini to example to avoid conflicting with live uwsgi.ini files
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdh committed Apr 15, 2019
1 parent ea2a9fb commit 77c117e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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`.
Expand Down
File renamed without changes.

0 comments on commit 77c117e

Please sign in to comment.