digdir / dialogporten-frontend

Brukergrensesnitt for Dialogporten
https://digdir.github.io/dialogporten-frontend/
MIT License
4 stars 2 forks source link

Dialogporten frontend

Developer setup

Tool Description
fnm Fnm is used to automatically get the correct version of Node in the project
Docker We recommend to use OrbStack if you're using Mac for development, on Linux you can install Docker directly.
pnpm Package manager used in this project
fzf Fuzzy finder used in some scripts

macOS

On macOS using Homebrew you can install dependencies by running:

brew install fnm pnpm fzf
brew install --cask OrbStack

Windows

On Windows using Chocolatey you can install dependencies by running:

choco install -y fnm pnpm fzf docker-desktop

Running Docker locally

First you'll need to setup an .env file:

env

Ensure that ./.env (in root) is created with following keys and appropriate values (Note: replace the examples)

CLIENT_ID=<my_example_service>
CLIENT_SECRET=<secret_password_keep_this_private>

Docker

Running Docker in watch mode:

make pull (optional)
make dev