Skip to content

Latest commit

 

History

910 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Altinn Register

Note

This repository contains files with long file-names, that may fail to clone on Windows. In order to fix this, run the following command to configure git to allow for long paths on Windows:

git config --system core.longpaths true

Note also that Visual Studio does not handle file-paths that are too long when compiling, and as such, it's recommended to clone this repository down into a directory that is no longer than 32 characters long (including the repo-directory). This repository is regularly built and tested in Visual Studio from a directory path that is the following format:

C:\Users\ABCDEF\hub\altinn-register
         ^^^^^^
         6 character user-name dir

Build status

Register build status

Getting Started

These instructions will get you a copy of the register component up and running on your machine for development and testing purposes.

Prerequisites

  1. .NET 8.0 SDK
  2. Newest Git
  3. A code editor - we like Visual Studio Code
  4. Podman or another container tool such as Docker Desktop

Running the solution locally

Clone Altinn Register repo and navigate to the folder.

git clone https://github.com/Altinn/altinn-register
cd altinn-register

In a docker container

To start a Register docker container

podman compose up -d --build

To stop the container running Register

podman stop altinn-register

The register solution is now available locally at http://localhost:5020/. To access swagger use http://localhost:5020/swagger.

With .NET

The Register components can be run locally when developing/debugging. Follow the install steps above if this has not already been done.

Navigate to src/Register, and build and run the code from there, or run the solution using you selected code editor

dotnet run

The register solution is now available locally at http://localhost:5020/. To access swagger use http://localhost:5020/swagger.

About

Altinn platform microservice for handling register data

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

18 watching

Forks

Releases

Packages

Used by

Contributors

Languages