Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.81 KB

README.md

File metadata and controls

70 lines (48 loc) · 1.81 KB

Credential Catalog Demonstrator

(NOT IMPLEMENTED YET: Current master version is available on Gitlab Pages.)

This is the Vue.js project for the Credential Catalog demonstrator.

The project is run using Docker with docker-compose.

Docker setup

After installing Docker and docker-compose, the project is easily started in development mode using*:

docker-compose -f docker-compose.dev.yml up

*Note the install dependencies below!

Install dependencies

Since we use a volume to mount the local app to the /app dir on the docker container, we need to have a local copy of all the node dependencies or else the docker-compose up command will fail. This is fixed by running the following command:

docker-compose -f docker-compose.dev.yml run app yarn install

Tools

  • For syntax-highlighting, install the Vetur plugin for VSCode.
  • The code in this project is formatted using prettier. There is also a VSCode extension for formatting on save.
  • For developing a Vue.js app, using the Vue.js devtools is highly recommended.
  • For dependency management, we use yarn. This is automatically included in the Docker image.

Manual setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.