|
1 | | -# Deis Workflow v2 |
| 1 | +# Deis Workflow Documentation |
2 | 2 |
|
3 | | -[](https://travis-ci.org/deis/workflow) [](http://goreportcard.com/report/deis/workflow) |
| 3 | +## About |
4 | 4 |
|
5 | 5 | Deis (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy and manage |
6 | 6 | applications on your own servers. Deis builds on [Kubernetes](http://kubernetes.io/) to provide |
7 | 7 | a lightweight, [Heroku-inspired](http://heroku.com) workflow. |
8 | 8 |
|
9 | | -## Work in Progress |
| 9 | +This repository represents the documentation for Deis Workflow which is the second major relase of the Platform. |
10 | 10 |
|
11 | | - |
| 11 | +## Requirements |
12 | 12 |
|
13 | | -Deis Workflow v2 is currently in alpha. Your feedback and participation are more than welcome, but be |
14 | | -aware that this project is considered a work in progress. |
| 13 | +The documentation site requires either a local installation of [mkdocs][] or |
| 14 | +access to Docker. |
15 | 15 |
|
16 | | -The following features are not ready in Alpha1, but will be coming |
17 | | -soon. |
| 16 | +### Local Installation |
18 | 17 |
|
19 | | -- Complete SSL support |
20 | | -- Dockerfile builds |
21 | | -- Backup and restore features |
22 | | -- Persistent storage (though it can be manually configured) |
| 18 | +Install `mkdocs` and required dependencies: |
23 | 19 |
|
24 | | -## Hacking Workflow |
25 | | - |
26 | | -First, [obtain a Kubernetes cluster][install-k8s]. Deis Workflow currently targets Kubernetes |
27 | | -v1.1 with the following requirements: |
28 | | - |
29 | | -* Configure Docker's `insecure-registry` parameter to include the subnets used by your Kubernetes installation |
30 | | -* If you are testing the logger components, you must enable `DaemonSet` experimental APIs via `--runtime-config=extensions/v1beta1/daemonsets=true` |
31 | | - |
32 | | -Next, install [helm](http://helm.sh). Next, add the deis repository to your chart list: |
33 | | - |
34 | | -```console |
35 | | -$ helm repo add deis https://github.com/deis/charts |
36 | 20 | ``` |
37 | | - |
38 | | -Then, install Deis! |
39 | | - |
40 | | -```console |
41 | | -$ helm install deis/deis |
| 21 | +make deps |
42 | 22 | ``` |
43 | 23 |
|
44 | | -Complete instructions for installing and managing a Deis cluster are |
45 | | -available in the [docs folder](https://github.com/deis/workflow/tree/master/docs/src). |
46 | | - |
47 | | -If you want to retrieve the latest client dev build for OS X or Linux, download the client: |
| 24 | +## Building Documentation |
48 | 25 |
|
49 | | -```console |
50 | | -$ curl -sSL http://deis.io/deis-cli/install-v2-alpha.sh | bash |
51 | | -``` |
| 26 | +To build the documentation run: `make build` or `make docker-build` |
52 | 27 |
|
53 | | -If you want to hack on a new feature, build the deis/workflow image and push it to a Docker |
54 | | -registry. The `$DEIS_REGISTRY` environment variable must point to a registry accessible to your |
55 | | -Kubernetes cluster. You may need to configure the Docker engines on your Kubernetes nodes to allow |
56 | | -`--insecure-registry 192.168.0.0/16` (or the appropriate address range). |
| 28 | +## Serve Documentation |
57 | 29 |
|
58 | | -```console |
59 | | -$ make docker-build docker-push |
60 | | -``` |
| 30 | +To serve documenation run: `make serve` or `make docker-serve` |
61 | 31 |
|
62 | | -You'll want to modify the deis chart to use your custom image, then run `helm install` on the |
63 | | -chart. |
| 32 | +Then view the documentation on [http://localhost:8000](http://localhost:8000) or [http://DOCKER_IP:8000](http://DOCKER_IP:8000) |
64 | 33 |
|
65 | 34 | ## License |
66 | 35 |
|
|
0 commit comments