Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 62 lines (42 sloc) 2.126 kb

Alchemy

About

Alchemy is a fully featured Web-CMS which beautifully integrates into rails. For more Information please visit http://alchemy-app.com

Install

Unless we have a installscript (cooming soon...) you have to do following steps to install Alchemy:

  1. In your Rails App folder enter:

    script/plugin install git://github.com/tvdeyen/alchemy.git
    
  2. Then enter folowing lines into your config/environment.rb file

    • Before the config block:

      require File.join(File.dirname(__FILE__), '../vendor/plugins/alchemy/plugins/engines/boot')
      
    • Inside the config block:

      config.gem 'ferret', :version => '0.11.8.1', :source => "http://gems.github.com"
      config.gem 'acts_as_ferret', :version => '>=0.4.8', :source => "http://gems.github.com"
      config.gem "gettext", :lib => false, :version => '>=1.9.3'
      config.gem "rmagick", :lib => "RMagick2" 
      config.gem 'mime-types', :lib => "mime/types" 
      config.plugin_paths << File.join(File.dirname(__FILE__), '../vendor/plugins/alchemy/plugins')
      config.plugins = [ :declarative_authorization, :alchemy, :all ]
      config.load_paths += %W( #{RAILS_ROOT}/vendor/plugins/alchemy/app/sweepers )
      config.load_paths += %W( #{RAILS_ROOT}/vendor/plugins/alchemy/app/middleware )
      config.i18n.load_path += Dir[Rails.root.join('vendor/plugins/alchemy/config', 'locales', '*.{rb,yml}')]
      
  1. Place a alchemy_plugin_tasks.rake file in the lib/tasks folder with:

    Dir.glob(File.dirname(__FILE__) + "/../../vendor/plugins/alchemy/plugins/**/tasks/*.rake").each do |rake_file|
      import rake_file
    end
    
  2. Then create your database and migrate:

    rake db:create
    rake db:migrate
    rake db:migrate:plugins
    

Resources

License

Something went wrong with that request. Please try again.