From 78de7ed98abff93fe5fef94907bcfa4f76dcef07 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 27 May 2017 10:27:51 -0700 Subject: adding docs to repo --- docs/build/System-Deployment/Docker/index.html | 977 +++++++++++++++++++++++++ 1 file changed, 977 insertions(+) create mode 100644 docs/build/System-Deployment/Docker/index.html (limited to 'docs/build/System-Deployment/Docker') diff --git a/docs/build/System-Deployment/Docker/index.html b/docs/build/System-Deployment/Docker/index.html new file mode 100644 index 0000000..557b538 --- /dev/null +++ b/docs/build/System-Deployment/Docker/index.html @@ -0,0 +1,977 @@ + + + + + + + + + + + + + + + + + + Docker - Ponzu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + +
+
+ + +
+
+
+ +
+
+
+ + + + + +
+
+ + + +

Docker

+ +

Ponzu Docker build

+

Ponzu is distributed as a docker image, +which aids in ponzu deployment. The Dockerfile in this directory is used by Ponzu +to generate the docker image which contains the ponzu executable.

+

If you are deploying your own Ponzu project, you can write a new Dockerfile that +is based from the ponzu/ponzu image of your choice. For example:

+
FROM ponzu/ponzu:latest
+
+# your project set up ...
+# ...
+# ...
+
+ + +

The following are convenient commands during development of Ponzu core:

+

Build the docker image. Run from the root of the project.

+
# from the root of ponzu:
+docker build -t ponzu-dev
+
+ + +

Start the image, share the local directory and pseudo terminal (tty) into for debugging:

+
docker run -v $(pwd):/go/src/github.com/ponzu-cms/ponzu -it ponzu-dev
+pwd # will output the go src directory for ponzu
+ponzu version # will output the ponzu version
+# make an edit on your local and rebuild
+go install ./...
+
+ + +

Special thanks to @krismeister for contributing this!

+ + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3