An AWS Lambda function for generating a screenshot from a URL.
- Run
npm install
- Run
node local.js
By default, this repository is setup to auto-deploy when a new commit is made.
However, if you wish to push changes from your local machine while testing, you can simply run the npm run deploy
command.
In order for local deployments to actually work, you will need to:
- Install the AWS CLI tool.
- Create a named profile named
bluehost
.
Note: You will need to rerun npm install
after a local deployment in order to install Chromium locally.