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

Star Wars example doesn't run #1092

Closed
Daniel15 opened this issue Sep 29, 2019 · 5 comments · Fixed by ChilliCream/hotchocolate-docs#49

Comments

@Daniel15
Copy link
Contributor

commented Sep 29, 2019

Trying to follow the instructions at https://hotchocolate.io/docs/example-star-wars-code-first.html to test out the "Star Wars" example. It starts on a different port to what's documented (1293, not 5000), and hitting /playground just gives me a 404 error.

To Reproduce
Steps to reproduce the behavior:

dotnet new -i HotChocolate.Templates.StarWars
mkdir starwars
cd starwars
dotnet new starwars
dotnet run --project StarWars/StarWars.csproj -c release

Try to load http://localhost:1293/playground

Expected behavior
Should work

Desktop (please complete the following information):

  • OS: Windows 10
  • Build 18362.10022
@michaelstaib

This comment has been minimized.

Copy link
Member

commented Sep 29, 2019

I think your uri is wrong. .../graphql/playground

@michaelstaib

This comment has been minimized.

Copy link
Member

commented Sep 29, 2019

Ah sorry you are using the template... let me check

@Daniel15

This comment has been minimized.

Copy link
Contributor Author

commented Sep 29, 2019

@michaelstaib michaelstaib self-assigned this Sep 29, 2019
@michaelstaib michaelstaib added this to the 10.2.0 milestone Sep 29, 2019
@michaelstaib

This comment has been minimized.

Copy link
Member

commented Sep 29, 2019

Hi @Daniel15,

the site is invalid... http://localhost:5000/graphql/playground/ works ...

Do you want to do a docu pull request?

Really appreciate your help on this project 👍

@Daniel15

This comment has been minimized.

Copy link
Contributor Author

commented Sep 29, 2019

Thanks for confirming! /graphql/playground works for me. Submitted a PR to fix the docs: ChilliCream/hotchocolate-docs#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.