Skip to content

Commit 4525525

Browse files
author
Abhinav Marwaha
committed
uwsgi readme
1 parent 4e02bb3 commit 4525525

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Run server
2+
3+
```
4+
uwsgi --module server.wsgi
5+
uwsgi --socket /tmp/uwsgi.socket --wsgi-file wsgi.py --uid www-data --gid www-data -H /usr/local/lib/python3.8
6+
```
7+
18
## Hosting
29

310
```
@@ -45,7 +52,7 @@ pip install -r requirements.txt
4552
### Server
4653

4754
```
48-
flask run
55+
flask run --host=0.0.0.0 --port=80
4956
```
5057

5158
### tests

0 commit comments

Comments
 (0)