Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Ofir-Shechtman/236369-FullStack-FinalProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

236369-FullStack-FinalProject

Installation

Clone the repository and change into its directory.

$ git clone [email protected]:Ofir-Shechtman/236369-FullStack-FinalProject.git
$ cd 236369-FullStack-FinalProject

Create a virtual environment and activate it. This is where dependencies for the project will be installed.


  • Using Conda
$ conda env create --name <venv_name> --file environment.yml
$ conda activte <venv_name>

  • Using pip:

$ virtualenv venv
$ source /venv/bin/activate [Linux]
$ .\venv\Scripts\activate [Windows]

Note: If the virtualenv command fails, you need to install it globally with pip.

$ pip install virtualenv

After activating the project virtual environment, install project dependencies.

$ pip install -r requirements.txt

Now set up the client side

$ cd frontend
$ npm install

Production [Recommended]

  1. In the frontend directory: npm run build
  2. After the build finishes: In the root directory: python run_project.py
  3. Go to http://localhost:5000/

Development

  1. In the frontend directory: npm start
  2. In a separate terminal, in the root directory: python run_project.py
  3. Go to http://localhost:3000/