Skip to content

Commit

Permalink
fix: write to writeable tmp path, use prebuilt canvas from lambda layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsepi committed Jan 20, 2025
1 parent 54c856b commit 3c42953
Show file tree
Hide file tree
Showing 5 changed files with 1,056 additions and 30 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,12 @@ When running `npm install`, husky should setup a pre-commit hook, so these will

### Deploying

Prerequisites:

- Install canvas lambda layer https://github.com/charoitel/lambda-layer-canvas-nodejs
- Setup a Telegram bot and make a copy of `secrets.example.yml` into `secrets.yml`.
- Setup working AWS CLI credentials

npm install serverless
npm run build
npx sls deploy
Loading

0 comments on commit 3c42953

Please sign in to comment.