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
Copy file name to clipboardExpand all lines: README.md
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,26 +20,19 @@ If you haven't already, install the Graphcool CLI:
20
20
npm install -g graphcool
21
21
```
22
22
23
-
Once it's installed, you can deploy the Graphcool service based on the existing definition inside the [`server`](./server) directory:
23
+
Once it's installed, you can start the GraphQL server:
24
24
25
25
```sh
26
26
cd server
27
27
yarn install
28
-
graphcool deploy server
28
+
graphcool deploy
29
+
yarn start
29
30
```
30
31
31
-
When prompted which cluster you want to deploy to, choose any of the **Shared Clusters** options (`shared-eu-west-1`, `shared-ap-northeast-1` or `shared-us-west-2`).
32
-
33
-
### 3. Connect the app with your GraphQL API
34
-
35
-
Paste the service ID (which you find in the generated `.graphcoolrc` file inside the `server` directory or by running `graphcool info`) into `./src/index.js` replacing the current placeholder `__SERVICE_ID__`.
36
-
37
-
### 4. Install dependencies & run locally
32
+
### 3. Install dependencies & run locally
38
33
39
34
```sh
40
35
cd ..
41
36
yarn install
42
37
yarn start # open http://localhost:3000 in your browser
0 commit comments