- Lead Developer: Archer James
-
Clone repository in desired directory
git clone https://github.com/UNCW-CSC-450/csc450-fa24-team3.git -
Create virtual environment
Windows users
# Redirecting to the repository folder (where you'll initialize your virtual environment) cd csc450-fa24-team3 py -3 -m venv .venv # Setting up virtual environment.venv\\Scripts\\activate # Activating virtual environmentdeactivate # deactivate virtual environment (after you're done with the application)Mac/Linux users
# Redirecting to the repository folder (where you'll initialize your virtual environment) cd csc450-fa24-team3 python3 -m venv .venv # Setting up virtual environmentsource .venv/bin/activate # Activating virtual environmentdeactivate # How you can deactivate virtual environment (after you're done with the application) -
Install Reflex & Other Packages
pip install reflex # May have to use pip3 pip install openai # OpenAI API package pip install requests # For Canvas API requests, OR python3 -m pip install types-requests -
Run Reflex
cd csc450-fa24-team3/AIPlanner # Redirecting to the AIPlanner folder reflex run # Running Reflex
-
Initialize Reflex database
# While in csc450-fa24-team3/AIPlanner reflex db init -
Update database format
# While in csc450-fa24-team3/AIPlanner reflex db makemigrations -
Updata database data
# While in csc450-fa24-team3/AIPlanner reflex db migrate
# While in csc450-fa24-team3/AIPlanner
reflex run
Go to http://localhost://3000 in browser, or whatever port Reflex directs you to in terminal after running Reflex.