CZ3002 - Group Assignment (AY20/21)
- Clone the repo into a location of your choice. (e.g.
C:\Users\junwei\Desktop\projectfiles\)
The cloned repo will stored atC:\Users\junwei\Desktop\projectfiles\NTUtor\ - Next, at
C:\Users\junwei\Desktop\projectfiles, create a new virtual environemnt using venv:virtualenv venv
The virtual environment will be created at:C:\Users\junwei\Desktop\projectfiles\venv\ - Activate the virtual environment:
.\venv\Scripts\activate
You should see a(venv)prepended to the terminal prompt. - Change directory to the cloned repository:
cd NTUtor - Install dependencies using pip:
pip install -r requirements.txt - Installation complete.
- From the root directory, execute:
python manage.py runserver - Navigate to
localhost:8000on your browser.
- From the root directory, execute:
python manage.py createsuperuser - Follow the prompts to create a superuser account.
Username: admin123
password: password123!