JacekKosciesza / StarWars

GraphQL 'Star Wars' example using GraphQL for .NET, ASP.NET Core, Entity Framework Core
MIT License
623 stars 98 forks source link

Table of Contents missing in docs (readme.md) #3

Open neooleg opened 7 years ago

neooleg commented 7 years ago

Hi @JacekKosciesza,

this is amazing documentation, huge work behind! What is really missing is TOC for such big document. BTW, it will be ideal to combine TOC with Road Map if Markdown will allow it.

JacekKosciesza commented 7 years ago

Thank you @neooleg. TOC is really a good idea. I'm also thinking about moving docs to Wiki pages and leave readme only with instructions how to get started with project and links to Wiki.

Jenan commented 7 years ago

@JacekKosciesza That is nice idea, move to the wiki.

dannarsavage commented 6 years ago

Speaking of adding to the documentation, @JacekKosciesza I appreciate all the effort that went into this. Is there any guidance on how to create the database? I see "Run application and make sure database is created" in the ReadMe, I see the "SeedData" cs file, and I see that it runs when I debug in Visual Studio, but it chokes on the fact that there's no database structure yet created. I don't see SQL scripts to create the database. I'm a complete EF noob, so maybe there's an easy way to do it with an edmx (which I also don't see, but maybe that's because I'm an EF Core noob). Help there?

dannarsavage commented 6 years ago

Okay got it. Either line 20 (Database.EnsureCreated();) or line 21 (Database.Migrate();) in StarWarsContext.cs needs to be uncommented. Hopefully this comes in handy for someone else . . .