0.0.2 • Published 7 years ago
dlay v0.0.2
dlay-cli
Install
npm install dlay -gCredentials
Exported env var
DLAY_WORKER="adlayer:8d8fs949rd9sfdf90300030fdfdf0"
DLAY_SECRET="0df0oj300000-0099330"
dlay worker leia --jobs bill.jsCommand
# Passing credentials on execution
DLAY_WORKER=adlayer:8d8fs949rd9sfdf90300030fdfdf0 DLAY_SECRET=0df0oj300000-0099330 dlay worker biller --jobs biller.jsdotfiles
touch .env
echo "DLAY_WORKER="adlayer:8d8fs949rd9sfdf90300030fdfdf0"" >> .env
echo "DLAY_SECRET="0df0oj300000-0099330"" >> .env
dlay worker lando --jobs bill.js -e .envWorkers
Explicit job files
dlay worker leia --jobs bill.jsMultiple job files
dlay worker leia --jobs bill.js collec.jsRelative module as job
dlay worker billerChild module as a job
dlay worker luke --jobs ./bill ./collectJobs
Deploy file
dlay job deploy index.jsDeploy the package
dlay job deploy