Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[DEAD] A Website CMS

branch: development

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 docs
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO
Octocat-spinner-32 magnetism.gemspec


Magnetism is a website CMS. Its currently under heavy development and is not yet production ready.

For those that have been watching Magnetism, it has been converted into a gem. To get it up and
running please do the following:

  # make a new rails instance
  $ rails new magnetism_demo

  # add two gems to your Gemfile
  gem 'magnetism', :git => 'git://', :branch => 'development'
  gem 'liquify', :git => 'git://', :branch => 'master'

  # bundle everything up
  $ bundle install

  # install magnetism
  $ rails g magnetism:install

  # setup magnetism
  $ rake m:setup

You can now launch the rails server and navigate to localhost:3000/admin

Oh no! I updated and things aren’t right!


I added mattr_accessor :defensio_key to the config/initializers/magnetism.rb generator file. If this is your first time installing Magnetism you wont see an problem, but if you are now updating Magnetism you wont see any indicator of where to add your Defensio key. Add config.defensio_key = 'my-key-here' and you should be set.


All images, stylesheets and javascript files were copied into the Rails.root/public directory
when you’d run rails g magnetism:install. These files are now kept within the gem
and do not get copied out.

If you’re updating your copy of magnetism please delete the Rails.root/public/admin directory if
it exists.

Magnetism and Liquify?

Liquify is a wrapper to the popular Liquid templating engine. It’s being developed at the same time
as Magnetism so updates for both happen frequently.

Something went wrong with that request. Please try again.