English / 日本語
simple
: Qwik app served via an HTTP APIcloudfront
: Qwik app served via a CloudFront distributioncomposite
: Qwik app served via a CloudFront distribution under a non-root basepath
qwik-app
folder contains the Qwik app used in the samples.
You need a credential configured with sufficient previleges to deploy an AWS Cloud Development Kit (CDK) stack.
Here is an example to set my named profile (AWS_PROFILE
):
export AWS_PROFILE=codemonger-jp
You can use the default toolkit stack, though, I prefer to create a toolkit stack dedicated to each project, because it makes cleanup easier after delete the project. If you want to create a toolkit stack other than the default, you should also set the synthesizer qualifier. Here is an example:
TOOLKIT_STACK_NAME=qwik-bundle-examples-toolkit
Without a unique qualifier, conflicts between different toolkit stacks may occur. Here is an example:
TOOLKIT_STACK_QUALIFIER=qwikbndlex
npx cdk bootstrap --toolkit-stack-name $TOOLKIT_STACK_NAME --qualifier $TOOLKIT_STACK_QUALIFIER
You have to run this command in one of the example folders. Since the toolkit stack is shared by all the examples, you need to do this only once.