bash-make-lifecycle

1.0.36 • Public • Published

npm version Build Status

Purpose of this library

Provide tested set of bash scripts to run, keep running, and stop any script.

requirements

npx usage

npx bash-make-lifecycle

or 

npx bash-make-lifecycle target-dir

then follow Makefile

yarn
make start
make status    
# now visit localhost:1025
make stop
make status    

about "forever"

Docker

to test in docker/linux

docker build -t node:bash-make-lifecycle .
docker run -it -v "$PWD":/usr/src/myapp -w "/usr/src/myapp" -e TRAVIS=true --cap-add=SYS_TIME node:bash-make-lifecycle make t

Dev notes

To update this lib after commit just run:

/bin/bash update.sh 

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i bash-make-lifecycle

    Weekly Downloads

    36

    Version

    1.0.36

    License

    MIT

    Unpacked Size

    74 kB

    Total Files

    15

    Last publish

    Collaborators

    • stopsopa-owner