Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 1.2 KB

README.md

File metadata and controls

58 lines (52 loc) · 1.2 KB

Spotability

Authors: Xin Wang Michelle Chu Yuteng Wu Jeng-Rung Tu

Project Setup

  1. Clone this repo
     git clone https://github.com/meshellchoo/HACKBU2022.git

Django Setup

  1. cd into the project directory
cd HACKBU2022/ 
  1. create a virtual environment
python -m venv env

3a. For Linux, activate the virtual environment

source env/bin/activate

3b. For Linux, activate the virtual environment

env\Scripts\activate.bat
  1. install all the dependencies
pip3 install -r requirements.txt
  1. cd into the admin folder
cd admin/
  1. run the server
python manage.py runserver

React Setup (React must be running on another terminal)

  1. cd into the React folder on a separate terminal
cd react-app/ 
  1. install required dependencies. Your terminal should tell you which dependencies you're missing. Simply install the missing ones.
npm install
  1. activate the react server
npm start