(Open preview of this file using Ctrl+Shift+V)
- Install Python 3.6.x
- Install Nodejs
-
Create python environment.
python -m venv web_app_env cd web_app_env
-
unzip
web_app.zip
inweb_app_env
, this will create folderweb_app
insideweb_app_env
. -
Install
http-server
node module.npm config set proxy http://username:password@172.30.10.11:3128 npm config set https-proxy http://username:password@172.30.10.11:3128 npm install -g http-server
-
Create directory
trained_models
and place models inside it. -
Create directory
img_dataset
and place test images inside it.
-
To run front-end, open command prompt in folder
web_app_env/web_app
and run following command:http-server .
-
To run back-end, open command prompt in folder
web_app_env
and activate python environment:Scripts\activate
-
Now, run following commands:
cd web_app set FLASK_APP=app.py set FLASK_ENV=development python app.py