Skip to content

Commit

Permalink
feat: Expand documentation structure with comprehensive guides and ex…
Browse files Browse the repository at this point in the history
…amples
  • Loading branch information
yarlson committed Dec 25, 2024
1 parent 416ff17 commit 3124e58
Show file tree
Hide file tree
Showing 26 changed files with 444 additions and 26 deletions.
110 changes: 107 additions & 3 deletions www/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,117 @@ export default defineConfig({
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Example Guide", slug: "guides/example" },
{ label: "Getting Started", link: "/guides/getting-started/" },
{ label: "Installation", link: "/guides/installation/" },
{
label: "Basic Setup",
collapsed: true,
items: [
{
label: "Configuration",
link: "/guides/basic-setup/configuration/",
},
{
label: "Environment",
link: "/guides/basic-setup/environment/",
},
{
label: "Dependencies",
link: "/guides/basic-setup/dependencies/",
},
],
},
{
label: "Deployment",
collapsed: true,
items: [
{ label: "Setup", link: "/guides/deployment/setup/" },
{
label: "Deploy Process",
link: "/guides/deployment/deploy-process/",
},
{
label: "Health Monitoring",
link: "/guides/deployment/health-monitoring/",
},
],
},
{
label: "Advanced",
collapsed: true,
items: [
{
label: "Nginx Configuration",
link: "/guides/advanced/nginx/",
},
{ label: "SSL Management", link: "/guides/advanced/ssl/" },
{
label: "Zero Downtime Deployment",
link: "/guides/advanced/zero-downtime-deployment/",
},
],
},
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
collapsed: true,
items: [
{
label: "CLI",
items: [
{ label: "Commands", link: "/reference/cli/commands/" },
{
label: "Configuration",
link: "/reference/cli/configuration/",
},
],
},
{
label: "YAML",
items: [
{ label: "Schema", link: "/reference/yaml/schema/" },
{ label: "Examples", link: "/reference/yaml/examples/" },
],
},
{ label: "Troubleshooting", link: "/reference/troubleshooting/" },
],
},
{
label: "Examples",
collapsed: true,
items: [
{
label: "Simple Web App",
items: [
{ label: "Overview", link: "/examples/simple-webapp/" },
{
label: "Configuration",
link: "/examples/simple-webapp/configuration/",
},
],
},
{
label: "Database Integration",
items: [
{ label: "Overview", link: "/examples/database-integration/" },
{
label: "Setup",
link: "/examples/database-integration/setup/",
},
],
},
{
label: "Microservices",
items: [
{ label: "Overview", link: "/examples/microservices/" },
{
label: "Architecture",
link: "/examples/microservices/architecture/",
},
],
},
],
},
],
}),
Expand Down
2 changes: 1 addition & 1 deletion www/src/components/lander.astro
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ volumes:
<li>🌐 Multi-provider support</li>
</ul>
<div>
<a href="/docs/getting-started" class="button">Get Started</a>
<a href="/guides/getting-started/" class="button">Get Started</a>
</div>
</div>
<div class="hero-code">
Expand Down
4 changes: 4 additions & 0 deletions www/src/content/docs/examples/database-integration/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: index
description: index
---
4 changes: 4 additions & 0 deletions www/src/content/docs/examples/database-integration/setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: setup
description: setup
---
4 changes: 4 additions & 0 deletions www/src/content/docs/examples/microservices/architecture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: architecture
description: architecture
---
4 changes: 4 additions & 0 deletions www/src/content/docs/examples/microservices/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: index
description: index
---
4 changes: 4 additions & 0 deletions www/src/content/docs/examples/simple-webapp/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: configuration
description: configuration
---
4 changes: 4 additions & 0 deletions www/src/content/docs/examples/simple-webapp/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: index
description: index
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/advanced/nginx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: nginx
description: nginx
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/advanced/ssl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: ssl
description: ssl
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: zero downtime deployment
description: zero downtime deployment
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/basic-setup/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: configuration
description: configuration
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/basic-setup/dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: dependencies
description: dependencies
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/basic-setup/environment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: environment
description: environment
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/deployment/deploy-process.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: deploy process
description: deploy process
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/deployment/health-monitoring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: health monitoring
description: health monitoring
---
4 changes: 4 additions & 0 deletions www/src/content/docs/guides/deployment/setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: setup
description: setup
---
11 changes: 0 additions & 11 deletions www/src/content/docs/guides/example.md

This file was deleted.

68 changes: 68 additions & 0 deletions www/src/content/docs/guides/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: Getting Started with FTL
description: Introduction to FTL deployment tool and its key benefits
---

FTL (Faster Than Light) is a deployment tool designed to simplify application deployment without the complexity of full container orchestration platforms. This guide will help you understand why FTL might be the right choice for your projects.

## Why FTL?

Modern deployment tools often fall into two extremes:

- Heavy orchestration platforms (Kubernetes, ECS) - powerful but complex
- Basic deployment scripts - simple but limited functionality

FTL fills the gap between these extremes by providing:

- Zero-downtime deployments without complex infrastructure
- Built-in SSL/TLS certificate management
- Integrated reverse proxy configuration
- Multi-provider support
- Simple YAML configuration
- No additional infrastructure requirements

## When to Use FTL

FTL is ideal for:

- Small to medium-sized applications
- Teams wanting simple but robust deployments
- Projects that don't require complex orchestration
- Applications with straightforward scaling needs
- Quick deployment to multiple providers

FTL might not be the best choice if you need:

- Complex micro-service architectures (100s of services)
- Advanced service mesh features
- Provider-specific optimizations
- Custom orchestration requirements

## Deployment Philosophy

FTL follows these core principles:

1. **Simplicity First**

- Minimal configuration
- Sensible defaults
- Clear, predictable behavior

2. **Convention Over Configuration**

- Standard patterns for common scenarios
- Reduced decision fatigue
- Consistent deployments

3. **Just Enough Automation**
- Automate common tasks
- Maintain visibility
- Keep control when needed

## Next Steps

Ready to get started with FTL? Follow these links to continue:

- [Installation Guide](/guides/installation/) - Install FTL on your system
- [Configuration Guide](/guides/basic-setup/configuration/) - Learn the basics of FTL configuration
- [Basic Web App Example](/examples/simple-webapp/) - Deploy your first application
Loading

0 comments on commit 3124e58

Please sign in to comment.