From cbcd89839f23dd1ad914480fc3fa1cc98445c136 Mon Sep 17 00:00:00 2001 From: Matthew Abrams Date: Fri, 15 Feb 2019 22:29:45 -0800 Subject: [PATCH] Update advanced readme getting started graphql cmd The most recent graphql-cli version (3.0.9) no longer offers a `--boilerplate` command line argument flag, but instead now prompts user to select from a list of options. This commit updates the readme to reflect this. --- advanced/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/advanced/README.md b/advanced/README.md index 3aaad01c..8a952569 100644 --- a/advanced/README.md +++ b/advanced/README.md @@ -32,14 +32,16 @@ npm install -g graphql-cli ```sh # 1. Bootstrap GraphQL server in directory `my-app`, based on `typescript-advanced` boilerplate -graphql create my-app --boilerplate typescript-advanced +graphql create my-app typescript-advanced -# 2. When prompted, deploy the Prisma service to a _public cluster_ +# 2. When prompted, select `typescript-advanced` from list of boilerplate project options -# 3. Navigate to the new project +# 3. When prompted, deploy the Prisma service to a _public cluster_ + +# 4. Navigate to the new project cd my-app -# 4. Start server (runs on http://localhost:4000) and open GraphQL Playground +# 5. Start server (runs on http://localhost:4000) and open GraphQL Playground yarn start ``` @@ -76,4 +78,4 @@ yarn start The GraphQL boilerplates are maintained by the GraphQL community, with official support from the [Apollo](https://www.apollographql.com/) & [Prisma](https://www.prisma.io) teams. -Your feedback is **very helpful**, please share your opinion and thoughts! If you have any questions or want to contribute yourself, join the `#graphql-boilerplate` channel on our [Slack](https://slack.prisma.io/). \ No newline at end of file +Your feedback is **very helpful**, please share your opinion and thoughts! If you have any questions or want to contribute yourself, join the `#graphql-boilerplate` channel on our [Slack](https://slack.prisma.io/).