Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.16 KB

File metadata and controls

42 lines (27 loc) · 1.16 KB

Frontend

Usage

Recommended IDE Setup for Development

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Running with Docker

The Dockerfile excpects some environment variables provided by the docker-compose.yml in the root of the project, so the frontend can not be started with docker as a standalone.

Running without Docker

  1. Make sure node.js is installed on your system.
  2. Navigate to /WebMLOpenEO/app/frontend in your terminal.
  3. Run the following command to install all dependencies:
npm install
  1. Compile and Hot-Reload for Development
npm run dev
  1. Type-Check, Compile and Minify for Production
npm run build
  1. Lint with ESLint
npm run lint

Testing

We have decided to not implement any tests for the frontend, because a big part of it is just displaying provided data. Full-blown end-to-end tests would have been possible, but are not worth the effort in our eyes.