A Repository For Professor + TA Office Hours At Rensselaer Polytechnic Institute (RPI).
Currently, Uh-OH! supports all Mac, Linux, and Unix Based Operating Systems.
Note: For Unix Based Systems, replace pip
with pip3
, and python
with python3
.
- Clone the GitHub Repository, or simply, copy all files in this GitHub Repository to a folder on your computer.
- Install the Latest Version of Python3. To do this, download the Latest Version from https://www.python.org/downloads/ and follow the instructions in the installer. As of right now, the Latest Version is Python 3.8.2.
- Install Virtual Environment, pipenv, by running
pip install pipenv
. - Install NodeJS (i.e., npm) by following the instructions from here: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm.
- Install the Django Framework by following the instructions from here: https://docs.djangoproject.com/en/3.0/intro/install/.
- Now, navigate to the Uh-OH/frontend Directory.
- Install ReactJS by running the following command:
npm install react --save
in your Terminal. - Run
npm install react-scripts --save
in your Terminal. - Run
npm install react-week-calendar --save
in your Terminal. - Run
npm install moment --save
in your Terminal. - Run
npm install bootstrap --save
in your Terminal.
- To launch the Virtual Environment for the Backend, navigate to the Main Uh-OH Directory. Now, simply run
pipenv shell
. - To launch the Backend Server, first navigate to Uh-OH/backend Directory. Once there, subsequently run
pip install django-cors-headers
as well aspip install djangorestframework
. Finally, runpython manage.py runserver
. - To launch the Frontend Client, navigate to the Uh-OH/frontend Directory. At last, run
npm start
. - You should now be able to view and interact with the Main Uh-OH! Website. Welcome To Uh-OH!