Skip to content

A open source vessel monitoring system written in Angular.

License

Notifications You must be signed in to change notification settings

UnionVMS/VMS-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,616 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

VMS-Frontend

A open source vessel monitoring system written in Angular.

Setup for development

Prerequisite

  • Docker
  • Docker-compose
  • Docker-sync

Running on windows

To get docker-sync to run correctly you need to use Ubuntu for Windows and thus you need to connect your Docker for windows to Docker inside Ubuntu for Windows. Here's a guide on how to do it: Link to guide.

Installation guide

Once all the prerequisites is installed, open the project folder with your terminal of choice (unless you're on windows, then you need to use Ubuntu for Windows).

Start by creating an environment file:

cp app/src/environments/environment.example.ts app/src/environments/environment.dev.ts

Inital run to do the inital npm install:

docker-sync start
cd docker && docker-compose --file docker-compose-init.yml up --build && cd ..

Running the code

To run the project we need to start docker-sync again for this project if it's not already started using docker-sync start (if you just ran docker-sync start you don't need to do it again).

In /docker/Dockerfile Change: CMD [ "npm", "start" ] to CMD [ "npm", "install" ] Run: docker-compose up --build Change back: CMD [ "npm", "install" ] to CMD [ "npm", "start" ] Run: docker-compose up --build

Run the following command in the project root:
docker-compose up --build

About

A open source vessel monitoring system written in Angular.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5