kaaninan / BAUV-Client

https://hub.docker.com/r/kaaninan/bauv-client
0 stars 0 forks source link

BAUV Client

build docker Docker Image Version (latest by date)

This is the client for the BAUV project. It is a web application that allows users to view and interact with the data collected by the BAUV-Server.

Pre-requisites

BAUV-Client Installation

Option 1: Standalone

Installation

Clone the repository:

git clone git@github.com:kaaninan/BAUV-Client.git

To install the dependencies, run:

npm install

Debugging

To run the application in debug mode, run:

npm run serve

Production

To run the application in production mode, run:

npm run build # Builds the production files
npm run production # Starts the production server

Open the application on http://localhost:5050

Lint

To run the linter, run:

npm run lint

Option 2: Run with Docker

docker pull kaaninan/bauv-client:latest

Running

To run the docker image, run:

docker run -d -p 5050:5050 bauv-client

Open the application on http://localhost:5050

BAUV-Client Development

Create new version

To create a new version change the version in package.json and run:

git tag -a v1.0.0 -m "Version 1.0.0"
git push origin v1.0.0

This triggers the build and publish workflow.

Build Docker Image

To build the docker image, run:

docker build -t bauv-client .

Notes