Skip to content

Commit 453f8cd

Browse files
authored
Merge branch 'main' into tutorials-ui-revamp
2 parents 8784831 + 3cb2190 commit 453f8cd

File tree

167 files changed

+119213
-69018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+119213
-69018
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Getting Started
1111
LocalStack Docs is using the following technology stack:
1212
- [Hugo](https://gohugo.io) to generate the static site.
1313
- [Docsy](https://docsy.dev) as a theme for Hugo.
14-
- [GitHub Pages](https://pages.github.com/) to automatically deploy every commit on the `main` branch of this repository on [docs.localstack.cloud](https://docs.localstack.cloud).
14+
- [GitHub Pages](https://pages.github.com/) to automatically deploy every commit on the `main` branch of this repository on [docs.localstack.cloud](https://docs.localstack.cloud).
1515

1616

1717
### Clone the repo
@@ -53,6 +53,13 @@ You can find an extensive documentation on how to use Hugo [in their docs](https
5353

5454
Make sure to follow the best practices below when contributing content.
5555

56+
#### Updating developer hub applications
57+
While contributing to the developer hub applications page i.e. editing `data/developerhub/applications.json` file, make sure to run the `create-applications.js` script in the `scripts` folder to create new application pages.
58+
59+
Example usage in the project root:
60+
61+
node scripts/create-applications.js
62+
5663
## Best Practices
5764

5865
Please follow these best practices when writing documentation in this repository:
@@ -84,7 +91,7 @@ This section covers common issues when working with LocalStack Docs:
8491
### Missing shortcodes
8592
Example error:
8693
```
87-
Start building sites …
94+
Start building sites …
8895
hugo v0.88.1-5BC54738+extended linux/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
8996
Error: Error building site: "/home/localstack/Repos/docs-test/content/en/get-started/_index.md:57:1": failed to extract shortcode: template for shortcode "alert" not found
9097
Built in 45 ms

assets/scss/_styles_project.scss

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,4 +521,39 @@ table tfoot {
521521
.reading-time{
522522
margin-bottom: 0;
523523
}
524-
}
524+
}
525+
526+
.td-content .code-container {
527+
.code-copy-button {
528+
position: absolute;
529+
top: 0;
530+
right: 0;
531+
background-color: rgba(#2b1a5c, 0.8);
532+
padding: 4px 10px;
533+
color: #fff !important;
534+
border: none;
535+
border-radius: 3px;
536+
cursor: pointer;
537+
display: flex;
538+
align-items: center;
539+
font-size: 14px;
540+
opacity: 0;
541+
&:hover,
542+
&:active {
543+
transition: 0.3s ease;
544+
background-color: rgba(#2b1a5c, 1);
545+
}
546+
&:active {
547+
transform: none;
548+
}
549+
i {
550+
margin-right: 5px;
551+
}
552+
}
553+
&:hover {
554+
.code-copy-button {
555+
transition: 0.3s ease;
556+
opacity: 1;
557+
}
558+
}
559+
}

config.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,30 @@ enable = true
206206
icon = "fab fa-slack"
207207
desc = "Chat with other project developers"
208208

209+
210+
[params.localstack]
211+
# LocalStack specific configuration values
212+
latest_version = "2.2.0"
213+
214+
[params.localstack.cli_links]
215+
# Configure the different download links for the cli-binary-download shortcode
216+
[[params.localstack.cli_links.macos]]
217+
name = "Intel (AMD64)"
218+
url = "https://github.com/localstack/localstack-cli/releases/download/v<latest-version>/localstack-cli-<latest-version>-darwin-amd64-onefile.tar.gz"
219+
icon = "fab fa-apple"
220+
[[params.localstack.cli_links.linux]]
221+
name = "x86-64"
222+
url = "https://github.com/localstack/localstack-cli/releases/download/v<latest-version>/localstack-cli-<latest-version>-linux-amd64-onefile.tar.gz"
223+
icon = "fab fa-linux"
224+
[[params.localstack.cli_links.linux]]
225+
name = "ARM64"
226+
url = "https://github.com/localstack/localstack-cli/releases/download/v<latest-version>/localstack-cli-<latest-version>-linux-arm64-onefile.tar.gz"
227+
icon = "fab fa-linux"
228+
[[params.localstack.cli_links.windows]]
229+
name = "64-bit"
230+
url = "https://github.com/localstack/localstack-cli/releases/download/v<latest-version>/localstack-cli-<latest-version>-windows-amd64-onefile.zip"
231+
icon = "fab fa-windows"
232+
209233
# hugo module configuration
210234

211235
[module]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Amazon RDS initialization using CDK, Lambda, ECR, and Secrets Manager"
3+
description: "Amazon RDS initialization using CDK and CloudFormation Custom Resources with Lambda functions for compute layer and running queries against the deployed database on LocalStack"
4+
hide_feedback: true
5+
hide_readingtime: true
6+
type: applications
7+
tags:
8+
- databases
9+
- rds
10+
---
Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,13 @@
11
---
22
title: "AppSync GraphQL APIs for DynamoDB and RDS Aurora PostgreSQL"
3-
description: Proxy data from different resources such as DynamoDB tables & RDS databases using AppSync GraphQL APIs deployed using Serverless Framework on LocalStack
3+
description: "Proxy data from different resources such as DynamoDB tables & RDS databases using AppSync GraphQL APIs deployed using Serverless Framework on LocalStack"
44
hide_feedback: true
55
hide_readingtime: true
66
type: applications
77
tags:
8-
- serverless-containers
9-
- security
10-
- identity
11-
- compliance
12-
- spring-boot
13-
- lambda-trigger
14-
- step-up-auth
15-
- rule-based-authentication
16-
- localsurf
17-
- serverless
18-
- microservices
19-
- serverless
20-
- event-driven-architecture
21-
- serverless
22-
- serverless
23-
- big-data
24-
- data-analytics
258
- graphql
269
- appsync
2710
- databases
2811
- rds
2912
- dynamodb
30-
---
13+
---

content/en/applications/create-applications.sh

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
---
22
title: "Event-driven architecture with Amazon SNS FIFO, DynamoDB, Lambda, and S3"
3-
description: Event-driven architecture demonstrating a recruiting agency application deployed using Serverless Application Model on LocalStack
3+
description: "Event-driven architecture demonstrating a recruiting agency application deployed using Serverless Application Model on LocalStack"
44
hide_feedback: true
55
hide_readingtime: true
66
type: applications
77
tags:
8-
- serverless-containers
9-
- security
10-
- identity
11-
- compliance
12-
- spring-boot
13-
- lambda-trigger
14-
- step-up-auth
15-
- rule-based-authentication
16-
- localsurf
17-
- serverless
18-
- microservices
198
- serverless
209
- event-driven-architecture
21-
---
10+
---
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
---
22
title: "Full-Stack application with AWS Lambda, DynamoDB & S3 for shipment validation"
3-
description: Configure a CRUD web application for shipment validation & listing, and deploy it with Terraform on LocalStack
3+
description: "Configure a CRUD web application for shipment validation & listing, and deploy it with Terraform on LocalStack"
44
hide_feedback: true
55
hide_readingtime: true
66
type: applications
77
tags:
8-
- serverless-containers
9-
- security
10-
- identity
11-
- compliance
128
- spring-boot
139
- lambda-trigger
14-
---
10+
---
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Loan Broker application with AWS Step Functions, DynamoDB, Lambda, SQS, and SNS"
3+
description: "Serverless architecture demonstrating a Loan Broker application with a a Recipient List pattern and a Scatter Gather pattern deployed using Cloud Development Kit (CDK) on LocalStack"
4+
hide_feedback: true
5+
hide_readingtime: true
6+
type: applications
7+
tags:
8+
- serverless
9+
---
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Messaging Processing application with SQS, DynamoDB, and Fargate"
3+
description: "Messaging Processing application that demonstrates a Fargate container that interacts with SQS & DynamoDB, deployed using Cloud Development Kit on LocalStack"
4+
hide_feedback: true
5+
hide_readingtime: true
6+
type: applications
7+
tags:
8+
- serverless
9+
---
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,10 @@
11
---
22
title: "MNIST handwritten digit recognition model running on a local SageMaker endpoint"
3-
description: Full-Stack application showcasing the deployment and invocation of a SageMaker endpoint on LocalStack
3+
description: "Full-Stack application showcasing the deployment and invocation of a SageMaker endpoint on LocalStack"
44
hide_feedback: true
55
hide_readingtime: true
66
type: applications
77
tags:
8-
- serverless-containers
9-
- security
10-
- identity
11-
- compliance
12-
- spring-boot
13-
- lambda-trigger
14-
- step-up-auth
15-
- rule-based-authentication
16-
- localsurf
17-
- serverless
18-
- microservices
19-
- serverless
20-
- event-driven-architecture
21-
- serverless
22-
- serverless
23-
- big-data
24-
- data-analytics
25-
- graphql
26-
- appsync
27-
- databases
28-
- rds
29-
- dynamodb
308
- machine-learning
319
- serverless
32-
---
10+
---
Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
---
22
title: "Note-Taking application using AWS SDK for JavaScript"
3-
description: Serverless Note-Taking application demonstrating a Web Application built using Lambda, API Gateway, and DynamoDB deployed using CDK on LocalStack
3+
description: "Serverless Note-Taking application demonstrating a Web Application built using Lambda, API Gateway, and DynamoDB deployed using CDK on LocalStack"
44
hide_feedback: true
55
hide_readingtime: true
66
type: applications
77
tags:
8-
- serverless-containers
9-
- security
10-
- identity
11-
- compliance
12-
- spring-boot
13-
- lambda-trigger
14-
- step-up-auth
15-
- rule-based-authentication
16-
- localsurf
178
- serverless
18-
- microservices
19-
- serverless
20-
- event-driven-architecture
21-
- serverless
22-
---
9+
---
Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,10 @@
11
---
22
title: "Query data in S3 Bucket with Amazon Athena, Glue Catalog & CloudFormation"
3-
description: Leverage Amazon Athena to run standard SQL to analyze a large amount of data in Amazon S3 buckets deployed using CloudFormation on LocalStack
3+
description: "Leverage Amazon Athena to run standard SQL to analyze a large amount of data in Amazon S3 buckets deployed using CloudFormation on LocalStack"
44
hide_feedback: true
55
hide_readingtime: true
66
type: applications
77
tags:
8-
- serverless-containers
9-
- security
10-
- identity
11-
- compliance
12-
- spring-boot
13-
- lambda-trigger
14-
- step-up-auth
15-
- rule-based-authentication
16-
- localsurf
17-
- serverless
18-
- microservices
19-
- serverless
20-
- event-driven-architecture
21-
- serverless
22-
- serverless
238
- big-data
249
- data-analytics
25-
---
10+
---
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Search application with Lambda, Kinesis, Firehose, ElasticSearch, S3"
3+
description: "Fuzzy Search application demonstrates how to fuzzy-search a movie database using various AWS services, deployed using Terraform and AWS CLI on LocalStack"
4+
hide_feedback: true
5+
hide_readingtime: true
6+
type: applications
7+
tags:
8+
- serverless
9+
- event-driven-architecture
10+
---
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Serverless Container-based APIs with Amazon ECS & API Gateway"
3-
description: Deploy a Full-Stack Serverless Web application, and deploy it with Terraform & CloudFormation on LocalStack
3+
description: "Deploy a Full-Stack Serverless Web application, and deploy it with Terraform & CloudFormation on LocalStack"
44
hide_feedback: true
55
hide_readingtime: true
66
type: applications
@@ -9,4 +9,4 @@ tags:
99
- security
1010
- identity
1111
- compliance
12-
---
12+
---

0 commit comments

Comments
 (0)