-
Notifications
You must be signed in to change notification settings - Fork 638
Docs: Quick Start Guide
Assuming that you followed steps to install everything, start the server:
rails s
Now visit http://localhost:3000/admin You'll be prompted to enter username and password. Default authentication credentials are: username and password.
You should change default credentials by editing /config/initializers/comfortable_mexican_sofa.rb:
ComfortableMexicanSofa::AccessControl::AdminAuthentication.username = 'username'
ComfortableMexicanSofa::AccessControl::AdminAuthentication.password = 'password'
You'll be prompted to create a Site. If you're not planning to have multi-homed setup, nothing here matters other than label and identifier. Create Site and you'll be redirected to Layout creation view.
Give Layout a label and identifier. You'll notice that content is already pre-filled with
{{ cms:wysiwyg content}}
This just means that Pages using this layout will have a single text field that is presented in a Wysiwyg editor in the admin area.
Once you have Layout ready you may start creating pages. Pages editing view should reflect the Layout chosen.
After page is created you should be able to navigate to it via http://localhost:3000/admin