- Login to your heroku account on workspace using
heroku login
& then providing credentials. - Create the app using
heroku create <*NameOfApp*>
e.gheroku create cricai
- Set Buildpacks for the app using
heroku buildpacks:set heroku/python
- Generate a file using
pip freeze > requirements.txt
- Create a file named Procfile with contents as
web: gunicorn index:app
- Commit the steps using
git add .
& then,git commit -m "MESSAGE"
- Push for deploy using
git push heroku master
- Clone the project using
git clone https://github.com/jaykay12/CricAI.git
- Explore into the Web-App using
cd CricAI/Web-App
- Create a Virtual Env using
virtualenv venv
- Activate the Virtual Env using
cd venv/bin
& then,source activate
- Install all dependencies using
pip install -r requirements.txt
- Pickle Classifiers using
python3 modelPickler.py
- Run Model using
python3 index.py
- Open Browser & Hit
http://127.0.0.1:5000/