
kcapp (pronounced keɪk æp) is an application used for scoring Darts matches, with multiple input methods, statistics tracking, and more. See Wiki for more information
To get started with development quickly, the following installer script can be used. More details can be found on the Wiki
git clone https://github.com/kcapp/frontend.gitnodejs dependencies npm installset DEBUG=kcapp:* & npm start
# logging to stdout
DEBUG=kcapp:* npm start
# or logs redirected to file
DEBUG=kcapp:* npm start &>> "log/kcapp.log"
git pullnodejs dependencies npm install.cache directory rm -rf .cacheFrontend depends on the kcapp-api for fetching data from the database.
The following environment variables can be used to adjust configuration
NODE_ENV: specify if app should run in prod or dev mode.
prod will enable bundling and minifyingdev will start with browser-refresh for easier developmentDEBUG: value is passed to debug module to specify which packages should be loggedKCAPP_API: by default api runs on http://localhost:8001, but this can be changed by setting it to http://<host>:<port>PORT : by default 3000DISK_CACHE: settings this will cache to disk (.cache) for optimized startup time between server runs. This folder must be deleted when a new version is deployedContent type
Image
Digest
sha256:360262e52…
Size
348.5 MB
Last updated
3 months ago
docker pull kcapp/frontend