Running on the production server, for listening on the specified port and executes the specified configuration shells.
Running on any path
npm install uke -g
sudo uke -port 6666 -path /your-config-path
specified port. Default is 2000
.
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
Create .sh
configuration corresponding project name in the specified configuration path.
yourShell.sh
echo "Executing env: /Users/SANGET/Github/uke"
cd /Users/SANGET/Github/uke
git pull origin
npm install