Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

merb-photos

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merb-photos

  • 0.4.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Installation:

1.) Install merb-photos gem. sudo gem install merb-photos

2.) Navigate to your merb application. cd ~/your_merb_app/

3.) Add to your dependencies file. vim config/dependencies.rb a

dependency 'merb-photos'

esc : wq

4.) Add options to your init file in the before_app_loads callback. vim config/init.rb a

Merb::BootLoader.before_app_loads do Merb::Slices::config[:merb_photos][:title] = 'Photos' #Title of the index page and/or tab. Merb::Slices::config[:merb_photos][:flickr_user_name] = 'your_user_name' #Flickr user name. end

esc : wq

5.) Add to your router file. vim config/router.rb a

slice(:merb_photos)

esc : wq

6.) Start your merb application and browse. http://your_domain/photos


Advanced:

List all available tasks:

rake -T slices:merb_photos

Put your application-level overrides in:

host-app/slices/merb-photos/

Templates are located in this order:

  1. host-app/slices/merb-photos/app/views/*
  2. gems/merb-photos/app/views/*
  3. host-app/app/views/*

FAQs

Package last updated on 25 Jul 2009

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