Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

junqili259/ChewsForYou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChewsForYou

Heroku Deployment

Steps for setting up this project

  1. Install the latest version of python 3.0+

  2. Clone this repository

  3. Through command-line, navigate into the cloud_proj directory of this project from where you stored it. Create a virtual environment with the following commands.

Note: You may need to use pip3 instead of pip

Skip this installation command if you already have this package

$ pip install virtualenv

Activating the environment:

For Mac/Linux/WSL users:

$ virtualenv env
$ source env/bin/activate

For Windows users:

$ virtualenv env
$ env\Scripts\activate
  1. Now that you created your virtual environment and activated it, we want to install the neccessary packages.
$ pip3 install -r requirements.txt

Running the live server on your pc

The virtual environment has to be running. After it's activated enter the following:

For Mac/Linux/WSL users:

$ flask run

Alternative

$ gunicorn main:app

For Windows users:

$ set FLASK_APP=main.py
$ flask run

Authors

Jun Qi Li - junqili259@gmail.com
Kent Zhang - kntzhang@gmail.com
Raymond Chan - ray12125@gmail.com
James Poon - jamespoon08@gmail.com
Jason Li - Jason61798@gmail.com