Skip to content

dtom90/DevTrack

Repository files navigation

DevTrack

CircleCI

An app for productive developers

Written in Vue.js

Setup

yarn install

Install in Docker for development:

./docker/install.sh

Development

Compile and hot-reload for development:

yarn run dev

Deploy container for development:

./docker/dev.sh

Test

Lint and fix source files

yarn run lint

Run unit tests with jest

yarn run test:unit

Run end-to-end tests with TestCafé (with dev or prod server)

yarn run test:e2e:dev
yarn run test:e2e:prod

Run all tests (lint, unit tests, end-to-end tests)

yarn run test

Run all tests in Docker containers

./docker/test_all.sh

Production

Compile and minify for production

yarn run build

Serve production files

yarn run serve:prod

Build Docker image and deploy container for production:

./docker/prod.sh