Public | Automated Build

Last pushed: 3 months ago
Short Description
omt
Full Description

Overtime management tool

This project was generated with the Angular Full-Stack Generator version 3.7.4.

Docker Image


Build

Getting Started

Prerequisites

Developing

  1. Run npm install to install server dependencies.

  2. Run bower install to install front-end dependencies.

  3. Run mongod in a separate shell to keep an instance of the MongoDB Daemon running

  4. Run grunt serve to start the development server. It should automatically open the client in your browser when ready.

Build & development

Run grunt build for building and grunt serve for preview.

Development and deployment With Docker

The Orchestration of Project is written in docker-compose.yml file. So it is so easily to understand and run the project.

  1. Install Docker.
  2. Install Compose.
  3. Local development and testing with compose: docker-compose up
  4. Local development and testing with just Docker:

    $ docker build -t omt .

    $ docker run -p 27017:27017 -d --name db mongo

    $ docker run -p 9000:9000 --link db:db_1 omt

  5. Open in the browser: http://localhost:9000/

Using Vagrant and Virtualbox

  1. Run: vagrant up
  2. After that, you can access the application via link: http://localhost:9000/

Testing

Running npm test will run the unit tests with karma.

Contributing

Please see CONTRIBUTING.md for more details.

Docker Pull Command
Owner
cminhho

Comments (0)