Coder Social home page Coder Social logo

jaykay12 / web-app-cricai Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.22 MB

Repository for the Web App of CricAI, serves as sub repository in the base repository.

Home Page: https://cricai.herokuapp.com/

Python 5.21% CSS 0.58% HTML 3.42% JavaScript 90.78%

web-app-cricai's Introduction

Repository acts as sub repository to the base, serves the purpose of deployment & webhooks

Steps for Hosting on Heroku(Any General Python/flask App)

  1. Login to your heroku account on workspace using heroku login & then providing credentials.
  2. Create the app using heroku create <*NameOfApp*> e.g heroku create cricai
  3. Set Buildpacks for the app using heroku buildpacks:set heroku/python
  4. Generate a file using pip freeze > requirements.txt
  5. Create a file named Procfile with contents as web: gunicorn index:app
  6. Commit the steps using git add . & then, git commit -m "MESSAGE"
  7. Push for deploy using git push heroku master

Building the project

  1. Clone the project using git clone https://github.com/jaykay12/CricAI.git
  2. Explore into the Web-App using cd CricAI/Web-App
  3. Create a Virtual Env using virtualenv venv
  4. Activate the Virtual Env using cd venv/bin & then, source activate
  5. Install all dependencies using pip install -r requirements.txt

Running the project

  1. Pickle Classifiers using python3 modelPickler.py
  2. Run Model using python3 index.py
  3. Open Browser & Hit http://127.0.0.1:5000/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.