INNER CODE UNIT · JavaScript
deployAfterHook
logandk/serverless-wsgi · index.js:790
const deployAfterHook = () =>
BbPromise.bind(this)
.then(this.validate)
.then(this.unlinkRequirements)
.then(this.cleanup);
this.hooks = {
"wsgi:wsgi": () => {
this.serverless.cli.generateCommandsHelp(["wsgi"]);
return BbPromise.resolve();
},
"wsgi:serve:serve": () =>
BbPromise.bind(this)
.then(this.validate)
.then(this.locatePython)
.then(this.loadEnvVars)
.then(this.serve),