swat-sccs / scheduler-v2

scheduler-v2
MIT License
0 stars 0 forks source link

Scheduler v2

Technologies Used

Install dependencies

Install Golang

Install NodeJS v18.18 or higher

Clone the Repo(recursivly!)

  git clone --recursive https://github.com/swat-sccs/scheduler-v2.git
  cd scheduler-v2

Configure your .env file

Paste the following into a .env in the root of the project.

DATABASE_URL="postgresql://postgres:example@localhost:5432/scheduler_db"

Run the development server

docker compose -f docker-compose.debug.yml up -d
cd swatscraper

first run only:

go mod init github.com/swatscraper
go mod tidy
go run main.go -semester=spring -year=2025 # Change to semester of choice

View the dev site

Head on over to http://localhost:3000

(Optional) View the database visually and in the browser!

npx prisma studio

Head on over to http://localhost:5555. Use this to confirm your database is populated.

License

Licensed under the MIT license.