Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
carvalho28 authored Jun 8, 2023
1 parent 85a3894 commit fcca137
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,23 @@ Go to your desired folder in your computer and clone the repo using:
git clone https://github.com/carvalho28/SHARESAFE
```

### Prepare Database

You need to have a database ready o use, inside `/backend`, create a `.env` with:

```
DATABASE_URL="database_url"
```

And then, to set it up using prisma, just run, on the global folder:

```
cd backend && npx prisma migrate dev --name init
```

After this, you have set up your database.


### Install the Dependencies

After cloning the repo, navigate to the created folder using:
Expand Down

0 comments on commit fcca137

Please sign in to comment.