Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.05 KB

Berkeleytime

Background

A course discovery and planning tool which combines all of UC Berkeley's academic information in one place. We intend to make it a more accurate and powerful tool than anything students currently use.

Berkeleytime was created by Yuxin Zhu and Noah Gilmore and is maintained by the ASUC Office of the CTO.

Getting started

Create an .env file with the keys in .env.template populated accordingly.

Start Docker before running these in repo root

docker-compose up   # CTRL+C to stop
docker-compose down # cleaner shutdown, removes containers

To seed the database, run these following commands while the containers are up. You will only need to do this once.

curl -O https://storage.googleapis.com/berkeleytime/public/mdb.archive
docker run --rm --volume "${PWD}/mdb.archive":/mdb.archive --network bt mongo:5 mongorestore --drop --host mongodb --gzip --archive=mdb.archive

Local site becomes available at http://localhost:8080