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
- Host: GitHub
- URL: https://github.com/jquery/node-web-git-proxy
- Owner: jquery
- License: other
- Archived: true
- Fork: true (gnarf/node-web-git-proxy)
- Created: 2021-03-22T01:44:47.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-22T02:19:17.000Z (almost 5 years ago)
- Last Synced: 2025-01-21T11:36:30.322Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
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.