aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-06-14 09:30:01 -0600
committerCody Hiar <codyfh@gmail.com>2018-06-14 09:30:01 -0600
commita882f70fa71540611223651f89f8c0b2ecebe3d7 (patch)
treeeeadee79557acea432d99ccb449788c61af0356a
parent51bbb19fb600d87d584aa1b6a0e2b3c68707bd61 (diff)
Updating README
-rw-r--r--README.md43
1 files changed, 20 insertions, 23 deletions
diff --git a/README.md b/README.md
index 1a4f2bd..920060d 100644
--- a/README.md
+++ b/README.md
@@ -1,37 +1,34 @@
Cookiecutter Docker
===================
-## Step 1: Generate a Project
+## What is this repo?
-This project is a template for kickstarting my projects. It uses cookiecutter
-which is a python module you can install with pip:
+This repo is a coookiecutter recipe for spinning up dockerized projects. I use
+this recipe on every project that I spin up for encapsulating everything into a
+docker container that I can share with other devs easily.
-```
-$ pip install cookiecutter
-```
+## How do I use it?
-Then to start a new project simply call cookiecutter and supply the address of
-this repo:
+First install [CookieCutter][1] and then use cookie cutter to spin up a new
+project from this repo.
```
$ cookiecutter https://github.com/thornycrackers/cookiecutter_docker.git
```
-You will be prompted answer a couple questions about your project and then after
-that you will be ready to rock and roll.
-
-## Step 2: Start using docker
-
-This project assumes you already have docker installed. After you create you
-project you can cd into and run `make` to see a list of commands. To build the
-container run.
+After that if you have `docker` and `make` installed you can simply use the
+following Makefile commands to start running the project.
+```bash
+$ make build
+$ make up
+$ make enter
+$ make down
+$ make clean
```
-make up
-```
-
-And give it a minute to build. After that you can enter the running container:
-```
-make enter
-```
+- build: Build the docker container
+- up: Spin up the docker container
+- enter: Enter the running container
+- down: Spin down the container but down remove
+- clean: Remove a stopped container