Change to correct node version (found in .nvmrc)
NOTE: If you're using nvm for managing node versions
-nvm use
For instructions on setting up automatic node version switching see here
-npm i
See Environment variables variables for setting up hashicorp vault for managing environment variables After setting up hashicorp vault you can run the project with withhcv npm run dev
Run git submodule update --init
This project uses Biome.js. Please install Biome's VS Code plugin to get automatic linting + formatting on save, suggestions and refactoring. For formatting... (Recommended settings for VS Code to follow later)
add .env file with VAULT_PATH secret. Contact project team to acquire the HCV credentials and secret value. Clone repo recursively from github and follow instructions in hcv/withhcv.sh file
You will need to recursively clone Backend, and also Spec
In order to run the local development environment you can use the following command to start the development environment:
withhcv npm run devThis opens the login screen in your default browser, the application is waiting for keycloak verification running on http://localhost:5173/ Using the google SSO service you should be able to authenticate and then login with your metatavu work account and interact with the application