Skip to content

Commit

Permalink
Update instructions and deps to ensure NPM stuff works
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly-Bellroy committed Aug 22, 2024
1 parent f45bfeb commit 78b48ab
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 33 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ cdk.out

dist/
dist-newstyle/

wai-handler-hal-cdk/runtime/result
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ Two endpoints are provided:

## Building

In the `wai-handler-hal-cdk/runtime` directory, run `nix build
.#packages.x86_64-linux` and wait a while. Nix will eventually create
a `result` symlink containing the compressed bootstrap
executable. From there, `npx cdk deploy` should deploy the example to
AWS.
Follow the instructions in the `wai-handler-hal-cdk` subdirectory to
build the deployment package and deploy it to AWS using [AWS CDK
v2](https://docs.aws.amazon.com/cdk/v2/guide/home.html).

## Hacking

Expand Down
155 changes: 130 additions & 25 deletions wai-handler-hal-cdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions wai-handler-hal-cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
},
"devDependencies": {
"@aws-cdk/assert": "^2.0.0-rc.1",
"@types/node": "10.17.27",
"@types/node": "22.5.0",
"aws-cdk-lib": "^2.80.0",
"cdk": "^2.0.0-rc.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.0"
"ts-node": "^10.0.0",
"typescript": "^5.0.0"
},
"dependencies": {
"constructs": "^10.0.0",
Expand Down

0 comments on commit 78b48ab

Please sign in to comment.