Skip to content

Bixie/dfm-app

Repository files navigation

DFM Browser Client

Vue application with for userinput and XHR-polling system for results.

Web Client - Server API - Nodejs Processor

Install

Use git/yarn to develop the client on your local machine.

git clone https://github.com/Bixie/dfm-app
cd dfm-app
yarn --production=false

Build

Use yarn to run the Vue CLI Service build scripts.

yarn build

This builds the Joomla! module in the folder /mod_dfm_app. An installable zip-file will be stored in the /dist folder. Update via Joomla! Extension Manager.

Development

Use Vue CLI Service to serve a hot reloading development build.

yarn serve

You could also build a stand-alone html/js version with:

yarn dev-build

This creates /dist/index.html that can be viewed directly in the browser.

Parameter fields

The paramaters for DFM are defined in the parameter-fields.json file and documented here.

Gameplan presets

Gameplan presets are defined in the gameplans.json file.

Language

All visible language strings in the client are defined in JSON files in the /language folder.