Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing "getting started" instructions #369

Closed
ryanblakeley opened this issue May 31, 2018 · 3 comments
Closed

Confusing "getting started" instructions #369

ryanblakeley opened this issue May 31, 2018 · 3 comments

Comments

@ryanblakeley
Copy link

Could we maybe have a 1, 2, 3, ... in the README for how to start a project using one of these boilerplates? Do you clone this repo first, or just a copy of /minimal, /basic, or /advanced? Are you supposed to install graphql-cli and then do graphql create?

Based on the README, it says go to the chosen boilerplate README. I look at minimal/README and there is nothing in the section called "Getting Started". I assume step 1 is copy that directory and run npm i. It says

yarn start or npm run start starts GraphQL server on http://localhost:4000

But npm run start fires up localhost:3000, there is no service running for me on port 4000. The browser just says "an unexpected error occurred" and there is no response from port 4000. Are there instructions somewhere that I am missing?

@ryanblakeley
Copy link
Author

ryanblakeley commented May 31, 2018

I have it working but the instructions are still incomplete.

These are the steps I used:

git clone git@github.com:graphql-boilerplates/react-fullstack-graphql.git
cd react-fullstack-graphql
mv minimal ../your-new-project
cd ../your-new-project
npm i
cd server
npm i
npm run start

Open a new terminal tab, move to project root, and run the frontend app:

cd ..
npm run start

@vivek12345
Copy link

@rojobuffalo See if these changes would help you better.
#408

@ryanblakeley
Copy link
Author

Looks good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants