-
Notifications
You must be signed in to change notification settings - Fork 5
/
README.yaml
106 lines (81 loc) · 3.31 KB
/
README.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
#
# This is the canonical configuration for the `README.md`
# Run `make readme` to rebuild the `README.md`
#
# Name of this project
name: dev
# Logo for this project
#logo: docs/logo.png
# License of this project
license: "APACHE2"
# Canonical GitHub repo
github_repo: cloudposse/dev
# Badges to display
badges:
- name: "Build Status"
image: "https://travis-ci.org/cloudposse/dev.svg?branch=master"
url: "https://travis-ci.org/cloudposse/dev"
- name: "Latest Release"
image: "https://img.shields.io/github/release/cloudposse/dev.svg"
url: "https://travis-ci.org/cloudposse/dev/releases"
- name: "Slack Community"
image: "https://slack.cloudposse.com/badge.svg"
url: "https://slack.cloudposse.com"
related:
- name: "dev"
description: "Local Development Environment Example"
url: "https://github.com/cloudposse/local-dev-scaffolding"
# Short description of this project
description: |-
This development harness creates a [monorepo](https://docs.cloudposse.com/glossary/monorepo/) experience for a [polyrepo](https://docs.cloudposse.com/glossary/polyrepo/) architecture by leveraging [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules).
## Dependencies
* [OSX Developer Tools, Homebrew, Docker for Mac](https://docs.cloudposse.com/local-dev-environments/quickstart/)
* [aws-vault](https://docs.cloudposse.com/tools/aws-vault/) for logging into AWS
* [chamber](https://docs.cloudposse.com/tools/chamber/) for accessing development secrets
## Layout
```
├── Makefile # Task runner for all commands
├── README.md # Getting started documentation
├── docker-compose.yml # Master compose environment
├── projects/ # Local checkout of all cloudposse repos supported by the local dev environment
│ ├── docs/ # Checkout of https://github.com/cloudposse/docs
│ ├── geodesic/ # Checkout of https://github.com/cloudposse/geodesic
│ ├── containers/ # Projects that provide docker images
│ ├── terraform/ # Projects geared towards terraform modules
│ ├── kubernetes/ # Projects geared towards kubernetes
│ └── tools/ # Projects that provide some utility
└── tasks/ # Make targets used for
├── Makefile.git # Targets for interacting with git
└── Makefile.projects # Targets for working with projects
```
quickstart: |-
Clone [this repo](https://github.com/cloudposse/dev/) recursively:
```
git clone --recursive [email protected]:cloudposse/dev.git
```
Install native dependencies (e.g. `chamber` and `aws-vault`)
```
make deps
```
Update current submodules in `projects/` folder to `@HEAD`
```
make git/submodules-update
```
List available `make` targets
```
make help
```
## Submodules
Add a new submodule:
```
git submodule add [email protected]:cloudposse/example.git projects/example/
```
Initialize a module (e.g. after calling `git submodule add`):
```
git -C projects/example/ submodule update --init
```
# Contributors to this project
contributors:
- name: "Erik Osterman"
github: "osterman"