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
- In the frontend directory:
npm run build
- After the build finishes: In the root directory:
python run_project.py
- Go to http://localhost:5000/
- In the frontend directory:
npm start
- In a separate terminal, in the root directory:
python run_project.py
- Go to http://localhost:3000/