Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.17 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.17 KB

web-app-vue

Frontend part for redline

Requirements

  • node 18+
  • docker 20+

Recommended IDE Setup

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev:web

Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:web

Lint with ESLint

npm run lint

Docker image build and run

You can change VITE_API_URL to a proper testing value

docker build -f infrastructure/Dockerfile \
-e VITE_API_URL=http://api.redline.sombriks.org \
-t sombriks/redline-web:testing .

You can expose another port if needed

docker run --rm -it --network=host -p 5000:5000 sombriks/redline-web:testing