Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

SANGET/webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webhook


Running on the production server, for listening on the specified port and executes the specified configuration shells.

Usage


Global Installation


Running on any path

npm install uke -g

Running as Administrator


sudo uke -port 6666 -path /your-config-path

Options


-port

specified port. Default is 2000.

-path

specified configurations path. Default is current directory.

Service will listen the URL http://yourDomain:port/projectName

The value of this parameter corresponds to the configuration file name, and execute the shell script

shells

Create .sh configuration corresponding project name in the specified configuration path.

Example

yourShell.sh

echo "Executing env: /Users/SANGET/Github/uke"
cd /Users/SANGET/Github/uke
git pull origin
npm install

About

web server webhook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published