Compartment CMS
Installation
Option 1: As a standalone application (recommended)
- Install the Compartment CMS gem:
gem install compartment
- Create a new application:
compartment new my_site
- Change into the new directory and start the application:
cd my_site
bundle exec rackup
- Open your browser to
localhost:3000
- Complete the setup wizard to create your first site.
Option 2: As a Rails Engine (for existing applications)
- Add
gem "compartment"
to your Gemfile and bundle
- Mount the engine in your routes.rb:
mount Compartment::Engine => "/"
- Install the migrations:
bundle exec rake compartment:install:migrations
- Run the migrations:
bundle exec rake db:migrate
- Start the
rails server
and open the application in your browser.
- Complete the setup wizard to create your first site.
-->