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

bulb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bulb

  • 0.5.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Bulb

Bulb is a Rails engine that allows easy displaying and management of Git repositories.

The aim is to provide a very simple engine that you can integrate into your personal or organization's website to easily browse your Git repositories, stylize things as you wish and provide any feature you would like to attach to your repos.

Installation

Add this line to your application's Gemfile:

gem 'bulb'

And then execute:

$ bundle

Usage

Once installed, you need to generate the needed migrations to create the tables and migrate your database:

$ rake bulb:install:migrations
$ rake db:migrate

Then, you can mount the engine to whichever path you like:

mount Bulb::Engine => "/git"

Then your repositories will be available through /git/:group-slug/:slug like /git/sites/personal.

To configure where your repositories are stored and who own them, you can open your config/application.rb or any environment-specific file and add the following:

config.bulb.repositories_path = '/srv/git/'
config.bulb.repositories_owner = 'git'

Where git is a Unix user on your system that must be the owner of the repository folders.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 03 Sep 2023

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