to run application
- clone repository onto your machine with
git clone https://github.com/GenerateNU/compound.git
- run
npm install
at /compound to install dependencies - create and run docker postgis container on port 3001 with POSTGRES_PASSWORD=password (make sure to shut down any existing containers)
- add database to VSCode postgres extension (host: localhost, username: postgres, password: password) (may also need to set port to 3001 if you don't see our db)
- run
npx prisma migrate dev --name init
at /compound to initialize the database - run
npm run dev
at /compound