Skip to content

Quick Start Guide

Andrew vonderLuft edited this page Aug 8, 2023 · 1 revision

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: user and pass.

You should change default credentials by editing /config/initializers/occams.rb:

Occams::AccessControl::AdminAuthentication.username = 'user'
Occams::AccessControl::AdminAuthentication.password = 'pass'

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