Repo for Professor portal of CS258 project Course management system.
-
Create an empty folder and cd into it
-
Git Clone the paathshaala-user repo.
-
Git Clone the paathshaala-professor repo.
-
To run professor portal:
cd paathshaala-user
python3 -m venv venv
source venv/bin/activate
venv\Scripts\activate.bat# if you're on windows run the following command instead of above
pip install -r requirements.txt
cd ..
mkdir temp
mkdir static_material
cd paathshaala-professor
python3 app.pyThe professor portal can be opened up at localhost:5000
To run tests on the app, run the following commands(in the root folder of app)
source ../paathshaala-user/venv/bin/activate
venv\Scripts\activate.bat# if you're on windows run the following command instead of above
pip install -e .
export testing=truethen just a simple pytest -v will run all the functional and unit tests.
After you are done testing make sure to run export testing=false