New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sweet_portfolio

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sweet_portfolio

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

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

FAQs

Package last updated on 19 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc