dode
Docker Development - toolkit
Note
Please note this is a alpha version, any feedback is more than welcome!
Prerequisites
docker
node.js
Installation
npm install -g dode
Starter Guide
Step-1
Clone an existing dode-project
-or-
Build a project from the base
# Create a directory for your project/app $ mkdir <project>$ cd <project># Create package.json $ npm init... follow instructions# create dode-project with web/srv/db - services $ dode-compose init
Step-2
- customise /package.json (name/version)
- customise /dode.json (docker)
Usage
# docker wrapper script $ dode --help # docker-compose wrapper script $ dode-compose --help
ToDo:
- add test environment
- add Continuous Delivery (CD)
- (git) submodule handling
- push images to registry/hub
- improve my english writing ... 😄
Known issues
- dode-compose dev ps -> Error: stty: stdin isn't a terminal
Thanks to
- tutum.co > Docker, AngularJS and Tutum
- Amine Mouafik > Efficient development workflow using Git submodules and Docker Compose
- Ryan Ramage > docker-build-run-push
License
MIT