Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Benjababe/NTUMods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pages Scraped

Pre-requisites

Ensure you have a .env file in the same directory as settings.py with the following properties set

# Secret key for generating an authentication token
SECRET_KEY=

# Name of the postgres database
DBNAME=ntumods

# Username to access the postgres database
DBUSERNAME=postgres

# Password of the user
DBPASSWORD=password

Starting NTUMods

Starting from root directory

  1. Install python packages
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
  1. Build the React app
cd frontend
npm install --legacy-peer-deps
npm run build
  1. Copy the build to django
cp -r build ../backend/
  1. Setup and run django
cd ../backend
python manage.py migrate
python manage.py runserver 0.0.0.0:8000

To Dos

  • Display Staff
  • Display Exams
  • Login & Timetable
  • Get latlng of venues

About

Project for iNTUition v9.0

Resources

License

Stars

Watchers

Forks

Contributors