Sha256: 313a0c29669ebba9e1dbcfa7ebbe69e366b3b48a4be2ad1843206b0ffea2d2e1

Contents?: true

Size: 1.48 KB

Versions: 6

Compression:

Stored size: 1.48 KB

Contents

     ___     _      _   _    ___         _           _
    | _ )_ _(_)__ _| |_| |_ / __|___ _ _| |_ ___ _ _| |
    | _ \ '_| / _` | ' \  _| (__/ _ \ ' \  _/ -_) ' \  _|
    |___/_| |_\__, |_||_\__|\___\___/_||_\__\___|_||_\__|
              |___/


Brightcontent, yet another rails CMS / admin panel

* For *developers*, to make a *custom CMS* for *non-technical users*
* No standard 'cms-modules', we hate those, making custom is easy enough
* Build in the rails way, use your normals models, only controllers and views are provided
* Only exception: Page model is provided with tree structure, draft, hidden and pretty urls like `/services/cleaning/houses`
* Rails 3.1+ only

Installation
------------

Include the gem in your Gemfile:

```ruby
gem "brightcontent", :git => "git://github.com/stexy/brightcontent.git"
bundle install
```

Generate the initializer, copy migrations and edit routes file. This can be done via a generator. Migrate the database afterwards:

    $ rails generate brightcontent:install
    $ rake db:migrate

Go to `/admin` and login with default user (email: `admin@example.com` / password: `password`).

Add a resource to Brightcontent
-------------------------------

Lets say, we want to add projects. Just create the `Project` model the rails way:
    $ rails g model Project name:string description:text
    $ rake db:migrate

To add the resource to brightcontent run:

    $ rails generate brightcontent:resource Project

Gratz! Projects can now be controlled with Brightcontent.

Version data entries

6 entries across 4 versions & 2 rubygems

Version Path
brightcontent-2.0.0.alpha3 README.md
brightcontent-2.0.0.alpha3 core/README.md
brightcontent-core-2.0.0.alpha3 README.md
brightcontent-2.0.0.alpha2 README.md
brightcontent-2.0.0.alpha2 core/README.md
brightcontent-core-2.0.0.alpha2 README.md