Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/murilopolese/nodewebhook
Simple tool for receiving web hook requests and update repositories
https://github.com/murilopolese/nodewebhook
Last synced: about 19 hours ago
JSON representation
Simple tool for receiving web hook requests and update repositories
- Host: GitHub
- URL: https://github.com/murilopolese/nodewebhook
- Owner: murilopolese
- Created: 2014-11-15T11:52:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-16T14:16:01.000Z (almost 10 years ago)
- Last Synced: 2024-04-10T14:16:47.233Z (7 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node Web Hook
This is a tool created for sync repositories (mostly created by kids) into a server running [ScriptCraft](http://scriptcraft.org).
## Setup
Inside the file `config.js` you have an object with an array property called `repo`. This array must contain an object with a repo url and a destination folder as following:
{
repos: [
{
url: '[email protected]:murilopolese/scriptcraftmods.git',
dest: '~/minecraft/plugins/scriptcraft/players/burrilove'
},
{
url: '[email protected]',
dest: 'ANOTHER PATH'
}
]
}## Running
It will run at `1337` port by default but you can run it on a port of your choice. To launch it on your favorite port, in this case 8080, you can do `PORT=8080 node app.js` from Node Web Hook folder.