An open API service indexing awesome lists of open source software.

https://github.com/jquery/node-web-git-proxy

Collection of node tools for creating an updating git proxy like https://view.jquery.com
https://github.com/jquery/node-web-git-proxy

Last synced: 3 months ago
JSON representation

Collection of node tools for creating an updating git proxy like https://view.jquery.com

Awesome Lists containing this project

README

          

Node Web Git Proxy
==================

This is a tool written with node.js to keep a directory up to date and checked out with the current versions on the remote server.

You must create a `config.json` with at least a `repo` which points to a git repo, and a `title` which is used in the display. You may also change the output directory with `output` and the repo working area with `working`.

At that point, if you `grunt` it should clone the remote repo and start setting up a folder for each brach and tag.

If you create a file called `build-command.sh` it will be executed in the directory for each branch and tag after it is updated.

A `cron.sh` is provided to run `grunt cron` and surround it in a `.lock` check.