Skip to content

swat-sccs/planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCCS Course Planner

The SCCS Course Planner is an all in one solution for planning your classes at Swarthmore College!

repo_last_commit License repo_size build_status

Looking to plan your classes? Visit the live site!

🏁 Getting Started

Install

Clone the Repo

  git clone --recursive https://github.com/swat-sccs/planner.git
  git checkout dev
  cd planner

Configure your .env file

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

echo 'DATABASE_URL="postgresql://postgres:example@localhost:5432/planner_db"' > .env

Pase the following into a .env in the /swatscraper dir

  echo 'HOST=localhost
        SQL_USER=postgres
        PASS=example
        DBNAME=planner_db
        OPMODE="DEV"' > ./swatscraper/.env

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.

📡 Technologies in Use

License

Licensed under the MIT license.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •