Skip to content

thomaswelton/registry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bower registry

Create package

curl http://bower.herokuapp.com/packages -v -F 'name=jquery' -F 'url=git://github.com/jquery/jquery.git'

Find package

curl http://bower.herokuapp.com/packages/jquery

Response

{"name":"jquery","url":"git://github.com/jquery/jquery.git"}

Unregister package

There is no direct way to unregister a package yet. For now, you can request a package be unregistered.

Setup

Install sinatra and bundler

gem install sinatra bundler

Install app dependencies

bundle install

Run the application

ruby application.rb

Deployment

The standard heroku buildpack does not include sql try this one https://github.com/c4mprod/heroku-buildpack-ruby-sqlite

heroku config:set BUILDPACK_URL=https://github.com/c4mprod/heroku-buildpack-ruby-sqlite

License

Copyright 2013 Twitter, Inc.

Licensed under the MIT License

About

The Bower registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%