Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I run my own bower server

Tags:

bower

I'd like to run my own bower server to start sharing a couple of internal modules across teams. I'm having a very hard time finding the information for running your own server. On the bower.io site there is this line

N.B. To run your own Bower Endpoint for custom packages that are behind a firewall, you can use a simple implementation of the Bower Server.

With a link to Bower Server

Do I simply clone that repo and 'run it'? I'm not a ruby guy at all so I'm not even sure what run it means.

like image 232
rooftop Avatar asked May 31 '13 03:05

rooftop


People also ask

How do I set up a web server?

Simply copy the IP address of your server into the A record of the domain name DNS zone file. Once you point the A record of the domain to your servers public IP address, the data in this folder will be visible for users in their browser. You have now setup your web server.

How do I install Bower on Ubuntu?

Bower is a node module, and can be installed with the following command: npm install -g bower This will install bower globally on your system. If you don’t have node installed on your computer, you have to download it from nodejs.org.

How do I run a server on Steam?

Most Steam games will use SteamCMD to download and run the server, although you’ll usually have to configure a .bat file with all the starting instructions. Other games may have their own server program you can download—check the game’s official documentation for more information.

How do I set up a Minecraft server on my computer?

Select “Server & Cloud” from the menu and click the server you want to install and host Minecraft on from the listing. Scroll down and press the download link next to the “Remote Desktop Connection” entry: IONOS Cloud Panel: Server selection Either select “Open with” directly or open the file by double-clicking it after the download.


Video Answer


1 Answers

That repo is a Sinatra app, so you need to git clone it, run bundle install in its directory, and run 'ruby application.rb`. Comment on this answer if you need more details.

There is also a node server, which I have never used and cannot comment on its quality - https://npmjs.org/package/bower-server

I guess there is a PHP one also - https://github.com/indieisaconcept/slim-bower-server

EDITS:

Some links for Ruby n00bs

  • http://bundler.io/
  • http://www.sinatrarb.com/intro.html
like image 200
Spain Train Avatar answered Sep 27 '22 17:09

Spain Train