Serverless Lambda wrapper around node-googlecharts.
- Node.js > 4.0
- Serverless
Install project dependencies:
npm install
Use this when you have made changes to your Functions, Events or Resources in serverless.yml
or you simply want to deploy all changes within your Service at the same time.
serverless deploy -v
Use this to quickly upload and overwrite your function code, allowing you to develop faster.
serverless deploy function -f chart
Invokes a Function and returns logs.
serverless invoke -f chart -l
node-googlecharts needs system dependencies that require specific environment variables to run. Unfortunately, AWS Lambda does not allow to define custom env variables for the whole lambda. Indeed, spawning child processes seem to be the recommended way according to amazon. more info