episerver / Foundation

Foundation offers a starting point that is intuitive, well-structured and modular allowing developers to explore CMS, Commerce, Personalization, Search and Navigation, Data Platform and Experimentation.
https://docs.developers.optimizely.com/digital-experience-platform/docs/optimizely-foundation-demo-sites
Apache License 2.0
132 stars 137 forks source link

Readme and setup.cmd incorrect #954

Open jaymarvels opened 10 months ago

jaymarvels commented 10 months ago

develop branch, which is linked from official Opti docs

The readme - https://github.com/episerver/Foundation/blob/develop/README.md - is out of date for the current version of foundation.

It states things like appsettings.config where it should be appsettings.json, images are incorrect amongst other things.

While these things are minor (and I can put in a PR for them) one of the last steps states that:

Log in with user: admin@example.com and password: store to access the Episerver user interface.

If we look both at the setup.cmd there is no where in this which creates the admin user, if we look in the tables (AspNetUsers) they're empty. And if you try and use the startup services.AddAdminUserRegistration() this doesn't give you the initial user creation form.

Either docs need updating with new correct steps, or the initial default user is created making 90% of the docs correct.

daniel-isaacs commented 8 months ago

The correct branch for CMS 12 is main -- the develop branch is CMS 11.

Could you please point me towards the docs that still reference/link to the develop branch? I'll put in a request to get that updated.