-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add STAC browser option #64
Conversation
e90dc28
to
9fa3442
Compare
9fa3442
to
1f6ec47
Compare
Ah 😭, I was hopping there was a way to automate this |
…talog url and radiant earth repo tag
@vincentsarago it's possible -- back when I wrote this I just didn't want to spend time to try and my idea would have lead to something that's not very clean. But here it is if you want to take a look -- my last commit. The idea is simply to run within the construct, the following commands required to build the app :
These commands are executed as external processes. This commit allows clients to avoid having to do this. The clients need to provide the following parameters :
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things look great as far as I can understand 😅
…d deleting anything and raise an error if using an existing directory does not work
@jjfrench in case you didn't see (not sure how well that feature works), I re-requested a review (addressed your comments). We should be good to merge, however I wanted to ask, did you face any issue when trying to deploy this as part of maap-eoapi ? |
# [5.3.0](v5.2.0...v5.3.0) (2023-09-01) ### Features * add STAC browser option ([#64](#64)) ([36499d2](36499d2))
Add a construct defining an S3 deployment with a Radiant Earth static STAC browser.
The user needs to compile the website code first locally, and provide the path to the compiled code directory to the construct parametersThe build process is automated, see comments below. By default the bucket is deployed with no endpoint or no particular permissions ; however :cloudFrontDistributionArn
option is provided in the construct props. If provided, this ARN is granted read access to the bucket. This is useful to enable HTTPS.websiteIndexDocument
option is provided, to enable static website hosting.Bucket
andBucketDeployment
objects are accessible as fields of the construct, in case clients need to modify them (e.g. change the permissions on the bucket).