@architect/docs
Advanced tools
Comparing version 30.1.27 to 30.1.28
@@ -14,2 +14,3 @@ - [Introduction](/intro) | ||
- [@app](/reference/app) | ||
- [@domain](/reference/domain) | ||
- [@html](/reference/html) | ||
@@ -16,0 +17,0 @@ - [@json](/reference/json) |
@@ -5,5 +5,8 @@ # Custom DNS | ||
Jump to DNS provider: | ||
`architect` bakes in support for Amazon Route53. Following the [quickstart](/quickstart) you should be setup with `dns` entry under `scripts` in `package.json`. From there you need to add `@domain` to your `.arc` file, invoke `npm run dns` and follow the instructions for verifying certificates and adding nameservers to your registrar. | ||
If you _really_ want to manually configure DNS you can follow these guides below: | ||
* [Route 53](#route-53) | ||
* [Cloudflare](#cloudflare) | ||
* [Route 53](#route-53) | ||
@@ -10,0 +13,0 @@ ## Cloudflare<a name="cloudflare"></a> |
@@ -17,3 +17,3 @@ # Limits | ||
- API Gateway API limits can be brutal, so creating http routes can be slow (i.e. generating a large amount of routes can take minutes) | ||
- Cloudwatch logs are not structured (so we search for `console.log` strings instead of querying structured data -- inspectability is hugely important for produciton systems) | ||
- Cloudwatch logs are not structured (so we search for `console.log` strings instead of querying structured data -- inspectability is hugely important for production systems) | ||
- Lambdas cannot execute for longer than 5 minutes | ||
@@ -20,0 +20,0 @@ - Lambda functions require you to `npm install` to your project `node_modules` individually prior to deployment |
@@ -19,2 +19,2 @@ # @app | ||
## Next: [Defining routes with `@html`](/reference/html) | ||
## Next: [Setup custom domains with `@domain`](/reference/domain) |
@@ -7,2 +7,3 @@ # Workflows | ||
- [`deploy`](#arc-deploy) deploys cloud functions | ||
- [`dns`](#arc-dns) setup a custom domain | ||
- [`sandbox`](#arc-sandbox) runs cloud function code locally, offline and completely in memory | ||
@@ -21,8 +22,9 @@ - [`modules`](#arc-modules) manage common npm tasks across all cloud functions | ||
{ | ||
"create": "AWS_PROFILE=xxx AWS_REGION=us-west-1 arc-create", | ||
"deploy": "AWS_PROFILE=xxx AWS_REGION=us-west-1 arc-deploy", | ||
"create": "AWS_PROFILE=xxx AWS_REGION=us-east-1 arc-create", | ||
"deploy": "AWS_PROFILE=xxx AWS_REGION=us-east-1 arc-deploy", | ||
"dns": "AWS_PROFILE=xxx AWS_REGION=us-east-1 arc-dns", | ||
"start": "NODE_ENV=testing arc-sandbox", | ||
"i": "arc-modules-install", | ||
"link": "arc-modules-link", | ||
"uninstall": "arc-modules-uninstall", | ||
"rm": "arc-modules-uninstall", | ||
"update": "arc-modules-update", | ||
@@ -74,2 +76,13 @@ } | ||
## <a href=#arc-dns id=arc-dns>`dns`</a> | ||
Setup a custom domain on Route53: | ||
```bash | ||
npm run dns | ||
> This command needs to be re-run as you progress through setup steps of creating/verifying certificates | ||
--- | ||
## <a href=#arc-sandbox id=arc-sandbox>`sandbox`</a> | ||
@@ -76,0 +89,0 @@ |
@@ -11,2 +11,3 @@ # Reference | ||
- [@app](/reference/app) | ||
- [@domain](/reference/domain) | ||
- [@html](/reference/html) | ||
@@ -13,0 +14,0 @@ - [@json](/reference/json) |
{ | ||
"name": "@architect/docs", | ||
"version": "30.1.27", | ||
"version": "30.1.28", | ||
"main": "index", | ||
@@ -5,0 +5,0 @@ "scripts": { |
123196
60