Project in the module
Visualisation (VI)
Media Informatics Master
Summer term 2022
TH Köln,
Campus Gummersbach
Germany
Die Dokumentation zum Projekt befindet sich im Wiki.
To start developing clone the repository (including submodules git clone --recurse-submodules
) and run npm install
. There are several scripts available to run:
- Data scripts
npm run data:flights
: Run a data conversion and aggregation for the flight data (can take a while)npm run data:flights:format
: Formats data to JSONnpm run data:covid:format
: Formats data to JSON
- Linting
npm run lint:js
: Check JavaScript for Linting errorsnpm run lint:js:fix
: Check and Fix JavaScript for Linting errorsnpm run lint:css
: Check CSS for Linting errorsnpm run lint:css:fix
: Check and Fix CSS for Linting errorsnpm run lint
: Check linting for CSS and JavaScript
- Build
npm run copy
: Copy all static files todist
npm run clean
: Cleans thedist
foldernpm run build:js
: Builds the JavaScript into thedist
foldernpm run build:css
: Builds the CSS into thedist
foldernpm run build-dirty
: Run all build scripts without cleaningnpm run build
: Run all build scripts with cleaning
- Watch
npm run watch:js
: Watches JavaScript Files for changes and runs build scriptnpm run watch:css
: Watches CSS Files for changes and runs build scriptnpm run watch:views
: Watches View Files for changes and runs copy scriptnpm run watch:data
: Watches Data Files for changes and runs copy scriptnpm run watch
: Runs all watch files
- Server
npm run server-start
: Runs a server locally with browser-syncnpm run server
: Runs a server locally with browser-sync with watch mode
For most tasks a npm run server
is fine.