Installation

To install Camaleon CMS you need to do the following steps or watch this video
Note: To have the last installation steps, please check here.

  1. Install Ruby on Rails 4.1+
    Visit here.
  2. Create your rails project

    rails new my_project
  3. Add the gem in your Gemfile

    gem "camaleon_cms",  '>=2.3.7.1' # Stable versions 2.3.6, 2.2.1, 2.1.1, 2.1.0
    # gem "camaleon_cms", github: 'owen2345/camaleon-cms' # current development version
  4. Only Rails 5 support

    Add in your Gemfile

    gem 'draper', '~> 3'
    gem 'sass-rails', '~> 5.0' # be sure to use sass-rails < 6

    Update bundle

    bundle update
  5. Install the gem

    bundle install
  6. Install the CMS (This will copy some basic templates and plugins in your project)

    rails generate camaleon_cms:install

    Note: Before to continue, you can customize your default configuration here: config/system.json

  7. Create database structure

    rake db:migrate
  8. Start your server

    rails server # and then go to your browser http://localhost:3000/
     
  9. Open a browser and navigate to http://localhost:3000 (First time will show new site form)


  10. Access information for your site


  11. That's it.

Notes for production mode:

  • Change config/environments/production.rb
    config.serve_static_files = true
  • Add value in config/secrets.yml for
    production:
    secret_key_base: --------------------------
  • Precompile assets
    RAILS_ENV=production rake assets:precompile

Here you can find a full manual of installation for ruby on rails 4 and mysql for windows users.

http://camaleon.tuzitio.com/media/132/manual-de-instalacion-ruby-on-rails-con-railsinstaller.pdf

Spanish Version:

http://camaleon.tuzitio.com/media/132/manual-de-instalacion-ruby-on-rails-con-railsinstaller.pdf

Here you can find more information about how to deploy rails projects:
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-passenger-and-apache-on-ubuntu-14-04