0.0
No commit activity in last 3 years
No release in over 3 years
Sweet Portfolio is an image gallery engine with nice frontend capabilities for Rails 3.1 apps (and ComfortableMexicanSofa)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.0.1
>= 1.0.14
>= 2.3.0
>= 3.1.0
 Project Readme

Sweet Portfolio is an image gallery engine for Rails 3.1 apps. Also it integrates with ComfortableMexicanSofa CMS Engine

Installation

Add gem definition to your Gemfile:

gem 'sweet_portfolio'

Then from the Rails project's root run:

bundle install
rails generate sweet_portfolio
rake db:migrate

Usage

You can immediately access admin area by going to /admin/galleries.

If you are using Sweet Portfolio on it's own take a look in the initializer: /config/initializers/sweet_portfolio.rb You probably want to set the admin controller to be something that handles user authentication within your app. Same goes for the admin_route_prefix.

If you are using SweetPortfolio in conjunction with ComfortableMexicanSofa everything will be configured automatically.

Also you may use provided ColorBox javascript to display galleries. Just declare these for asset pipeline

// in app/assets/javascripts/application.js
//= require sweet_portfolio/jquery.colorbox

// in app/assets/stylesheets/application.css
//= require sweet_portfolio/colorbox

CMS Gallery is released under the MIT license

Copyright 2013 Stephen McLeod