From 2b8330e32a9dc2e137036094f717ffed09888723 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 4 Oct 2020 11:15:34 -0500 Subject: [PATCH] Clean up README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3af6f0b..cf7de1a 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ Note: replace `www-data` with whatever user your webserver runs as. 16. Set up your webserver to proxy the uwsgi.sock Example NGINX location block: + ```nginx location /upload { include uwsgi_params; @@ -63,22 +64,21 @@ location /upload { ### Using Flask development server - #### Setup ```shell -$ git clone https://git.bbaovanc.com/bbaovanc/imgupload.git -$ cd imgupload -$ python3 -m venv env -$ source env/bin/activate -$ pip3 install -r requirements.txt +git clone https://git.bbaovanc.com/bbaovanc/imgupload.git +cd imgupload +python3 -m venv env +source env/bin/activate +pip3 install -r requirements.txt ``` #### Run ```shell -$ export FLASK_APP=imgupload.py -$ flask run +export FLASK_APP=imgupload.py +flask run ``` ---