https://github.com/pythonista7/enableindiawebapp
https://github.com/pythonista7/enableindiawebapp
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pythonista7/enableindiawebapp
- Owner: Pythonista7
- Created: 2020-04-09T14:19:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-11T09:21:02.000Z (over 5 years ago)
- Last Synced: 2025-04-01T16:55:27.119Z (10 months ago)
- Language: CSS
- Size: 4.22 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Instructions
1. clone repository
2. On linux cd into the repository folder , run the following command
Create Virtual environment with virtual env :
`$ virtualenv env`
If the above command prompt error "virtualenv command not found" run : `$ pip install virtualenv` and try again.
Once the virtual environment is created you will see a new folder called venv in pwd,now run
` $ source env/bin/activate `
` $ pip install -r requirements.txt`
3. To run the flask-app :
Start the web-application with:
` $ python Flask/main.py `
Start the ML server with:
` $ python model_server/main.py`
4. Once both the servers are up and running.Open browser at url specified in the prompt. That is `http://127.0.0.1:8080`
## URL Map
Flask Server
```
localhost:8080
│
│
└───+ /
+ /signup
+ /login
+ /home
```
Model Server
```
localhost:9090
│
│
└───+ /api/get_Attributes
+ /api/get_Jobs
+ /api/predict
```