Skip to content

Commit

Permalink
fix gql port, add missing command
Browse files Browse the repository at this point in the history
  • Loading branch information
emredevsalot committed Aug 20, 2023
1 parent b5c6a94 commit a47e860
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ npm run prisma:generate
npm run prisma:push
```

- Run seed command to fill database with demo data.

```sh
npm run prisma:seed
```

### 5. Running dev servers

- Run the command below at the root folder.
Expand Down
2 changes: 1 addition & 1 deletion apps/kampus/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# update with the url after running `npm run dev` under `apps/gql`
NEXT_PUBLIC_GQL_URL=http://gql.localhost.kamp.us:3002/graphql
NEXT_PUBLIC_GQL_URL=http://gql.localhost.kamp.us:4000/graphql
NEXTAUTH_URL=http://pasaport.localhost.kamp.us:3001/auth
DATABASE_URL=mysql://root:kampus@localhost:3306/kampus
AUTH_COOKIE_DOMAIN='.localhost.kamp.us'
Expand Down

0 comments on commit a47e860

Please sign in to comment.