You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Generate a version of Prisma Client that is tailored to the models.
44
+
```js
45
+
npx prisma generate
46
+
```
47
+
5. Create .env file
48
+
49
+
6. Copy and paste variables from `.env.example` into `.env`
50
+
51
+
7. Update each variable in `.env` (optional).
52
+
53
+
8. Start a docker container for the database.
54
+
```sh
55
+
docker compose up
56
+
```
57
+
9. Once your database is ready, push your prisma schema to the database.
58
+
```sh
59
+
npx prisma db push
60
+
```
61
+
10. Finally start your dev server.
62
+
```sh
49
63
npm run dev
50
-
```
64
+
```
51
65
52
66
Open your browser and visit http://localhost:3000 to see the application running.
53
67
54
-
## Configuration
55
-
56
-
Code Racer requires some configuration variables to run properly. Create a .env.local file in the root directory of the project and add the following variables:
57
-
58
68
## Contribution
59
69
60
70
We welcome contributions from the community! If you'd like to contribute to Code Racer, please follow refer to [CONTRIBUTION.md](CONTRIBUTION.md), but we have these base guidelines:
0 commit comments