Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DCRepublic authored Nov 7, 2024
1 parent f1df0b5 commit 26a4bdc
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ Install [NodeJS](https://nodejs.org/en) v18.18 or higher
cd scheduler-v2
```

### Configure your .env file
Paste the following into a .env in the root of the project.
```env
DATABASE_URL="postgresql://postgres:example@localhost:5432/scheduler_db"
```

### Run the development server

```bash
Expand All @@ -38,20 +45,26 @@ go mod tidy
```

```bash
go run main.go
go run main.go -semester=[spring|fall] -year=[202x] #defautl is fall 2024

```



### View the dev site

Head on over to http://localhost:3000

### (Optional) View the db visually


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

```bash
npx prisma studio
```
Head on over to http://localhost:5555. Use this to confirm your database is populated.


Head on over to http://localhost:5555

## License

Expand Down

0 comments on commit 26a4bdc

Please sign in to comment.