Sign inSign up

dciccale/angular-docker-boilerplate

By dciccale

•Updated almost 11 years ago

Image
0

1.3K

dciccale/angular-docker-boilerplate repository overview

⁠Angular Docker Boilerplate Circle CI Coverage Status

⁠Installation

$ git clone --recursive git://github.com/dciccale/angular-docker-boilerplate.git
$ git submodule foreach npm install
$ [sudo] make install

⁠Development

$ npm start

⁠Tests

Run client and server tests

$ npm test

If you want to run the tests sepparately use:

$ gulp test-client
$ gulp test-server

⁠Coverage

Code coverage report is generated:

for client code in coverage/client/

for server code in coverage/server/

⁠Production

$ make build

Generates a dist diretory with all the files ready to serve.

Run in production mode.

$ make run

⁠API

The api is on it's own repository https://github.com/dciccale/angular-docker-boilerplate⁠ and is linked to this container.

⁠Docker

Install Docker⁠ and Compose⁠

Start docker and run:

$ docker-compose up

See docker-compose.yml⁠ and Dockerfile⁠

Will install all dependencies, build the app for production and start the server.

Image at DockerHub dciccale/angular-docker-boilerplate⁠

⁠Continuous Integration

With CircleCI⁠, see circle.yml⁠

Build url: https://circleci.com/gh/dciccale/angular-docker-boilerplate⁠

⁠Continuous Delivery

With Tutum⁠, see tutum.yml⁠

Deploy to Tutum

⁠Next

  • For now it only provides a production ready docker image, I want to provide a development enviroment also.

Tag summary

Content type

Image

Digest

sha256:812f4dcfd…

Size

345.3 MB

Last updated

almost 11 years ago

docker pull dciccale/angular-docker-boilerplate