Skip to content

Commit 980e18a

Browse files
committed
update README
1 parent c9ca0d4 commit 980e18a

File tree

2 files changed

+349
-355
lines changed

2 files changed

+349
-355
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ This is the sample project that belongs to the [React & Apollo Tutorial](https:/
1010
git clone https://github.com/howtographql/react-apollo/
1111
```
1212

13-
### 2. Deploy the Prisma database service
13+
### 2. Install dependencies & Deploy the Prisma database API
1414

1515
```sh
1616
cd react-apollo/server
17+
yarn install
1718
yarn prisma deploy
1819
```
1920

2021
When prompted where (i.e. to which _cluster_) you want to deploy your service, choose any of the public clusters, e.g. `public-us1` or `public-eu1`. (If you have Docker installed, you can also deploy locally.)
2122

22-
### 3. Set the Prisma service endpoint
23+
> **Note**: This repository uses a slightly outdated version of the Prisma CLI and will be updated soon to use the [latest release](https://www.prisma.io/docs/reference/upgrade-guides/upgrading-prisma/upgrade-to-1.7-iquaecuj6b).
24+
25+
### 3. Set the Prisma API endpoint
2326

2427
From the output of the previous command, copy the `HTTP` endpoint and paste it into `server/src/index.js` where it's used to instantiate the `Prisma` binding. You need to replace the current placeholder `__PRISMA_ENDPOINT__`:
2528

@@ -55,7 +58,7 @@ const server = new GraphQLServer({
5558
})
5659
```
5760

58-
Note that the part `public-hillcloak-flier-952361` of the URL is unique to your service.
61+
Note that the part `public-hillcloak-flier-952361` of the URL is unique to your Prisma API.
5962

6063
### 4. Start the server
6164

0 commit comments

Comments
 (0)