silverstripe / silverstripe-lessons-v4

The source code for the SilverStripe.org Lessons section, version 4.x
Other
20 stars 68 forks source link

Lesson 00 installation set up is not correct #112

Open 3Dgoo opened 4 years ago

3Dgoo commented 4 years ago

In lesson 00 we describe how to set up a Silverstripe instance: https://www.silverstripe.org/learn/lessons/v4/up-and-running-setting-up-a-local-silverstripe-dev-environment-1

In the Creating a Silverstripe project section the lesson uses the installer wizard. The installer wizard was removed in Silverstripe 4.5.0 and moved to it's own module. These instructions will not work.

Lesson 00 needs to be updated either to also install the installer wizard module, or to remove the description of the installer wizard and instead get the user to set up a .env at that stage.

This issue was brought up on Stackoverflow by a new user following the lessons for the first time.

dnsl48 commented 4 years ago

Might be covered by https://github.com/silverstripe/silverstripe-lessons-v4/pull/90

manuth commented 4 years ago

@3Dgoo I've been working on refactoring the silverstripe-lessons quite a long time. Sadly my lessons depend on the installation-page displayed in the website you linked, too.

Could you please explain what changed and how the installation process works for SilverStripe > 4.5.0?

dnsl48 commented 4 years ago

Could you please explain what changed and how the installation process works for SilverStripe > 4.5.0?

I think you're talking about RFC-9195 - Remove intstaller. This was the canonical way to install the CMS for a long time. However, it's had some negative security impact and was merely a tool fer user-friendly generation of .env file. Although we moved the installation wizard into a separate module, the recommended way is to just create .env configuration file manually.

manuth commented 4 years ago

Awesome! I'll adjust the guide accordingly

MichaelNZ85 commented 1 year ago

I also had trouble with this. Please update the lessons!