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

Update automated installer #57

Merged
merged 9 commits into from
Dec 17, 2019
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Dec 17, 2019

A mayor overhaul of the installer

  1. It installs and runs the Alchemy migrations
  2. It does not install an alchemy.rb initializer into the host app anymore. We handle necessary config in the engine instead. Please make sure to remove the Alchemy::Modules.register_module part from your config/initializer/alchemy.rb file if upgrading
  3. Fixes the root route injection
  4. Generates a home page if Alchemy should handle the root route to remove confusion of an empty page for new comers.

Closes #54

Out of sudden the admin integration spec fails because
the `spree.root_path` is not available anymore.

Weirdly enough the `respond_to?` should guard this, but it is not
working. Rails magic \o/
The former does not work very well with spring and other app
preloaders.
We obviously need the database tables.
Drawing the root path into the Solidus engine routes does not work.
w/o that we cannot authenticate
Otherwise new users get a 404 and will be confused.
@tvdeyen tvdeyen merged commit 997ecf0 into AlchemyCMS:master Dec 17, 2019
@tvdeyen tvdeyen deleted the update-installer branch December 17, 2019 13:28
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

Successfully merging this pull request may close these issues.

Automated install fails on existing Solidus install
1 participant