Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
[DEAD] A Website CMS
Ruby JavaScript
branch: development

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
docs
lib
spec
.gitignore
Gemfile
Gemfile.lock
README.textile
Rakefile
TODO
magnetism.gemspec

README.textile

Magnetism

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://github.com/daneharrigan/magnetism.git', :branch => 'development'
  gem 'liquify', :git => 'git://github.com/daneharrigan/liquify.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!

2011-04-10

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.

2011-03-19

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.