@gfi-centre-ouest/generator-docker-devbox
v1.8.3
Published
Yeoman Generator for dockerized development environment
Downloads
80
Maintainers
Readme
generator-docker-devbox
Yeoman Generator for dockerized development environment.
Installation
First, install Yeoman and generator-docker-devbox using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g @gfi-centre-ouest/generator-docker-devbox
Then generate your new project:
mkdir my-project
cd my-project
yo @gfi-centre-ouest/docker-devbox
Use local installation of generator for development
Use npm link to use local installation of generator
git clone https://github.com/gfi-centre-ouest/generator-docker-devbox
cd generator-docker-devbox
npm install
npm link
Then you need run the project in watch mod for TypeScript sources to be compiled on change.
npm run start
You may run unit tests with npm run test
, and docker build tests with npm run test:docker
.
Continuous integration on TravisCI
Unit tests are executed after each push on TravisCI. It runs for each supported Node version.
Integration tests are runned after each push on a single node version. They checks that generated docker-compose configuration are valids and docker images can build properly using latest versions of Docker and docker-compose.
License
MIT © GFI Informatique