Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca-Ilari authored Aug 2, 2024
1 parent 75c9283 commit a974ba5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,20 @@ To set up the project locally, follow these steps:
npm install
```

3. **Setup the Database**:
3. **Setup .env file**:
add ".env" file to the root directory of the project
```env
DATABASE_URL=file:dev.db
OMDB_KEY=<your omdb api key for https://www.omdbapi.com/>
SECRET_KEY=<custom key>
```

5. **Setup the Database**:
```bash
npx prisma migrate dev --name init
```

4. **Start the Application**:
6. **Start the Application**:
```bash
npm run dev
```
Expand Down

0 comments on commit a974ba5

Please sign in to comment.