$ git clone --recursive git://github.com/dciccale/angular-docker-boilerplate.git $ git submodule foreach npm install $ [sudo] make install
$ npm start
Run client and server tests
$ npm test
If you want to run the tests sepparately use:
$ gulp test-client $ gulp test-server
Code coverage report is generated:
for client code in
for server code in
$ make build
dist diretory with all the files ready to serve.
Run in production mode.
$ make run
The api is on it's own repository https://github.com/dciccale/angular-docker-boilerplate and is linked to this container.
Start docker and run:
$ docker-compose up
Will install all dependencies, build the app for production and start the server.
Image at DockerHub dciccale/angular-docker-boilerplate
- For now it only provides a production ready docker image, I want to provide a development enviroment also.