cp .env .env.local
Edit .env.local
to add your GitLab Private Token
npm install
You can run the project in two modes: development or production.
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
.
npm run dev
During development you may also want to lint your files before committing with npm run lint
.
In production mode, the GitLab APIs are called and therefore it's imperative that the private token in .env.local
is
set and correct.
npm run build && npm run preview