Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 790 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 790 Bytes

gitlab-deployment-status

Project setup

cp .env .env.local

Edit .env.local to add your GitLab Private Token

npm install

Running the project

You can run the project in two modes: development or production.

Development

In development mode, the calls to the GitLab APIs are mocked and therefore you don't need to set the private token in .env.local.

Compiles and hot-reloads for development

npm run dev

During development you may also want to lint your files before committing with npm run lint.

Production

In production mode, the GitLab APIs are called and therefore it's imperative that the private token in .env.local is set and correct.

Compiles, minifies and run for production

npm run build && npm run preview