Skip to content

Commit

Permalink
Docs: combine "user manual" and "programming manual" into "learn dagger"
Browse files Browse the repository at this point in the history
Signed-off-by: Solomon Hykes <solomon@dagger.io>
  • Loading branch information
shykes committed Jun 15, 2021
1 parent 71c3655 commit 9690981
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 22 deletions.
14 changes: 10 additions & 4 deletions docs/user/user.md → docs/learn/101-use.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
---
slug: /user
slug: /learn/101-basics
---

# User Manual
# Dagger 101: basic usage

In this part, you will learn how to deploy a simple [React](https://reactjs.org/) application. This is an introduction before you [learn how to program dagger](/programming).
In this guide, you will learn the basics of Dagger by interacting with a pre-configured environment.
Then you will move on to creating your own environment from scratch.

You will learn how to use the most common dagger commands.
Our pre-configured environment deploys a simple [React](https://en.wikipedia.org/wiki/React_(JavaScript_library))
application to a special hosting environment created and managed by us, the Dagger team for the purpose of this tutorial.
This will allow you to deploy something "real" right away, without having to configure your own infrastructure first.

In later guides, you will learn how to configure Dagger to deploy to your own infrastructure. And, for advanced users,
how to share access to your infrastructure in the same way that we are sharing access to ours now.

## Before we start

Expand Down
5 changes: 2 additions & 3 deletions docs/programming/programming.md → docs/learn/102-dev.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
sidebar_position: 1
slug: /programming
slug: /learn/102-dev
---

# Dagger 102: learn to program Dagger
# Dagger 102: create your first environment

## Overview

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Kubernetes
---
slug: /learn/107-kubernetes
---

# Dagger 107: deploy to Kubernetes

This tutorial illustrates how to use dagger to build, push and deploy Docker
images to Kubernetes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Infra provisioning
---
slug: /learn/108-cloudformation
---

## Integrating with AWS Cloudformation
# Dagger 108: provision infrastructure on AWS

After deploying the app on a bucket provisioned from the web interface, let's see how Dagger can be leveraged to extend our deployment pipeline using Cloudformation's relay.
In this guide you will learn how to automatically [provision infrastructure](https://dzone.com/articles/infrastructure-provisioning-–) on AWS, by integrating [Amazon Cloudformation](https://aws.amazon.com/cloudformation/) in your Dagger environment.

We will start with something simple: provisioning a new bucket on [Amazon S3](https://en.wikipedia.org/wiki/Amazon_S3). But Cloudformation can provision almost any AWS resource; and Dagger can integrate with the full Cloudformation API.

## Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion docs/user/_category_.json → docs/learn/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "User Manual",
"label": "Learn Dagger",
"position": 3,
"collapsed": false
}
5 changes: 0 additions & 5 deletions docs/programming/_category_.json

This file was deleted.

5 changes: 0 additions & 5 deletions docs/programming/guides/_category_.json

This file was deleted.

0 comments on commit 9690981

Please sign in to comment.