Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Latest commit

 

History

History
45 lines (30 loc) · 1.64 KB

README.textile

File metadata and controls

45 lines (30 loc) · 1.64 KB

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.