-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff3dc1b
commit 383c341
Showing
6 changed files
with
94 additions
and
50 deletions.
There are no files selected for viewing
23 changes: 15 additions & 8 deletions
23
lesson-4-automating-development/demos/travis_build/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
# Overview | ||
|
||
This is a very simple, bare-bones NodeJS project created for you to use with Docker. | ||
|
||
# Local Setup | ||
* Install dependencies: `npm install` | ||
* Run server: `node server.js` | ||
## Local Setup | ||
|
||
**_Note_**: This is only needed if you want to run the app locally. You don't need to install the dependencies or run the server if you are running the code inside a Docker container. | ||
|
||
- Install dependencies: `npm install` | ||
- Run server: `node server.js` | ||
|
||
## Container Setup | ||
|
||
- Build image: `docker build .` | ||
- Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
- You can use the `-d` flag to run the container in the background. This will enable you to run other commands in your terminal while the container is running. | ||
|
||
# Container Setup | ||
* Build image: `docker build .` | ||
* Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
## Container Teardown | ||
|
||
# Container teardown | ||
* Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` | ||
- Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` |
23 changes: 15 additions & 8 deletions
23
lesson-4-automating-development/exercises/travis_ci/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
# Overview | ||
|
||
This is a very simple, bare-bones NodeJS project created for you to use with Docker. | ||
|
||
# Local Setup | ||
* Install dependencies: `npm install` | ||
* Run server: `node server.js` | ||
## Local Setup | ||
|
||
**_Note_**: This is only needed if you want to run the app locally. You don't need to install the dependencies or run the server if you are running the code inside a Docker container. | ||
|
||
- Install dependencies: `npm install` | ||
- Run server: `node server.js` | ||
|
||
## Container Setup | ||
|
||
- Build image: `docker build .` | ||
- Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
- You can use the `-d` flag to run the container in the background. This will enable you to run other commands in your terminal while the container is running. | ||
|
||
# Container Setup | ||
* Build image: `docker build .` | ||
* Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
## Container Teardown | ||
|
||
# Container teardown | ||
* Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` | ||
- Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` |
23 changes: 15 additions & 8 deletions
23
lesson-4-automating-development/exercises/travis_env_var_exercise/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
# Overview | ||
|
||
This is a very simple, bare-bones NodeJS project created for you to use with Docker. | ||
|
||
# Local Setup | ||
* Install dependencies: `npm install` | ||
* Run server: `node server.js` | ||
## Local Setup | ||
|
||
**_Note_**: This is only needed if you want to run the app locally. You don't need to install the dependencies or run the server if you are running the code inside a Docker container. | ||
|
||
- Install dependencies: `npm install` | ||
- Run server: `node server.js` | ||
|
||
## Container Setup | ||
|
||
- Build image: `docker build .` | ||
- Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
- You can use the `-d` flag to run the container in the background. This will enable you to run other commands in your terminal while the container is running. | ||
|
||
# Container Setup | ||
* Build image: `docker build .` | ||
* Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
## Container Teardown | ||
|
||
# Container teardown | ||
* Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` | ||
- Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` |
26 changes: 17 additions & 9 deletions
26
lesson-5-kubernetes-for-production/exercises/debugging-logs/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
# Overview | ||
|
||
This is a simple NodeJS + ExpressJS project that is designed to simulate output for what logs may look like. The file `make_requests.sh` is set up to programatically make API requests. | ||
|
||
# Local Setup | ||
* Install dependencies: `npm install` | ||
* Run server: `node server.js` | ||
## Local Setup | ||
|
||
**_Note_**: This is only needed if you want to run the app locally. You don't need to install the dependencies or run the server if you are running the code inside a Docker container. | ||
|
||
- Install dependencies: `npm install` | ||
- Run server: `node server.js` | ||
|
||
## Usage | ||
|
||
# Usage | ||
By default, the application should be loaded on `localhost:8080`. It should provide an HTTP 200 response when loaded at `localhost:8080/health`. | ||
|
||
# Container Setup | ||
* Build image: `docker build .` | ||
* Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
## Container Setup | ||
|
||
- Build image: `docker build .` | ||
- Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
- You can use the `-d` flag to run the container in the background. This will enable you to run other commands in your terminal while the container is running. | ||
|
||
## Container Teardown | ||
|
||
# Container teardown | ||
* Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` | ||
- Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` |
26 changes: 17 additions & 9 deletions
26
lesson-5-kubernetes-for-production/exercises/simple-express/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
# Overview | ||
|
||
This is a very simple, bare-bones NodeJS and ExpressJS project created for you to use with Docker. | ||
|
||
# Local Setup | ||
* Install dependencies: `npm install` | ||
* Run server: `node server.js` | ||
## Local Setup | ||
|
||
**_Note_**: This is only needed if you want to run the app locally. You don't need to install the dependencies or run the server if you are running the code inside a Docker container. | ||
|
||
- Install dependencies: `npm install` | ||
- Run server: `node server.js` | ||
|
||
## Usage | ||
|
||
# Usage | ||
By default, the application should be loaded on `localhost:8080`. It should provide an HTTP 200 response when loaded at `localhost:8080/health`. | ||
|
||
# Container Setup | ||
* Build image: `docker build .` | ||
* Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
## Container Setup | ||
|
||
- Build image: `docker build .` | ||
- Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
- You can use the `-d` flag to run the container in the background. This will enable you to run other commands in your terminal while the container is running. | ||
|
||
## Container Teardown | ||
|
||
# Container teardown | ||
* Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` | ||
- Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` |
23 changes: 15 additions & 8 deletions
23
lesson-6-orchestration-with-kubernetes/exercises/kubernetes-on-aws/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
# Overview | ||
|
||
This is a very simple, bare-bones NodeJS project created for you to use with Docker. | ||
|
||
# Local Setup | ||
* Install dependencies: `npm install` | ||
* Run server: `node server.js` | ||
## Local Setup | ||
|
||
**_Note_**: This is only needed if you want to run the app locally. You don't need to install the dependencies or run the server if you are running the code inside a Docker container. | ||
|
||
- Install dependencies: `npm install` | ||
- Run server: `node server.js` | ||
|
||
## Container Setup | ||
|
||
- Build image: `docker build .` | ||
- Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
- You can use the `-d` flag to run the container in the background. This will enable you to run other commands in your terminal while the container is running. | ||
|
||
# Container Setup | ||
* Build image: `docker build .` | ||
* Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID` | ||
## Container Teardown | ||
|
||
# Container teardown | ||
* Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` | ||
- Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID` |