Skip to content

Commit

Permalink
Add documentation about connection to the database
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarah committed Sep 10, 2023
1 parent 658686a commit 0b7bb74
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 49 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ Then run:

docker run --rm -it -v "$PWD":/app -w /app node:18 /bin/bash

### connecting to the mySQL server
If you are not planning to alter the database. Connecting to the PlanetScale development database is the easiest option.

Add `DATABASE_URL` environment variable the file `apps/researcher/.env.local`

If you want to test migration, you need a local database. You can read more about this in the [object-lists readme](packages/object-lists/README.md).


### Install packages

docker run --rm -it -v "$PWD":/app -w /app node:18 npm install --no-progress
Expand Down
Loading

0 comments on commit 0b7bb74

Please sign in to comment.