Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.