After installation of Alchemy cms(Ruby), getting error as 'Root page not found.'. So how to create a Root page?
Asked
Active
Viewed 469 times
2 Answers
1
Alchemy maintainer here :)
Did you setup your Database?
bin/rake alchemy:install
should've added Alchemy::Seeder.seed!
into your app's db/seeds.rb
.

tvdeyen
- 723
- 4
- 9
0
In config.rb
, you use the root 'controller#action'
to set root to whichever page you like. For example:
root 'home#main`
Alchemy does this for you, pointing at pages#show
, which loads your root page from the database.
Make sure you've set up Alchemy according to their installation instructions, specifically running rake alchemy:install
, which will seed your database with the root route.

Kristján
- 18,165
- 5
- 50
- 62