mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
Merge pull request #129 from jamesscottbrown/patch-1
clarify build instructions for AWS lambda function
This commit is contained in:
@@ -4,7 +4,9 @@ See installation and configuration instructions at [Protomaps Docs: Deploy on AW
|
|||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
Building the Lambda ZIP yourself:
|
The code for the lambda function imports from the top level `js/` directory. You will therfore need to first run `npm install` and `npm run build` in the `js/` directory, and then run `npm install` in the `serverless/aws` directory.
|
||||||
|
|
||||||
|
You should then be able to build the Lambda ZIP:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm run build
|
npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user