File tree 2 files changed +112
-2
lines changed
2 files changed +112
-2
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,73 @@ screenshots
72
72
73
73
test-report.xml
74
74
75
- .nx
75
+ .nx
76
+
77
+ # User-specific files
78
+ * .suo
79
+ * .user
80
+ * .userosscache
81
+ * .sln.docstates
82
+
83
+ # User-specific files (MonoDevelop/Xamarin Studio)
84
+ * .userprefs
85
+
86
+ # Build results
87
+ [Dd ]ebug /
88
+ [Dd ]ebugPublic /
89
+ [Rr ]elease /
90
+ [Rr ]eleases /
91
+ x64 /
92
+ x86 /
93
+ bld /
94
+ [Bb ]in /
95
+ [Oo ]bj /
96
+ [Ll ]og /
97
+
98
+ # Visual Studio 2015 cache/options directory
99
+ .vs /
100
+ # Uncomment if you have tasks that create the project's static files in wwwroot
101
+ # wwwroot/
102
+
103
+ # MSTest test Results
104
+ [Tt ]est [Rr ]esult * /
105
+ [Bb ]uild [Ll ]og. *
106
+
107
+ # NUNIT
108
+ * .VisualState.xml
109
+ TestResult.xml
110
+
111
+ # Build Results of an ATL Project
112
+ [Dd ]ebugPS /
113
+ [Rr ]eleasePS /
114
+ dlldata.c
115
+
116
+ # .NET Core
117
+ project.lock.json
118
+ project.fragment.lock.json
119
+ artifacts /
120
+
121
+ * _i.c
122
+ * _p.c
123
+ * _i.h
124
+ * .ilk
125
+ * .meta
126
+ * .obj
127
+ * .pch
128
+ * .pdb
129
+ * .pgc
130
+ * .pgd
131
+ * .rsp
132
+ * .sbr
133
+ * .tlb
134
+ * .tli
135
+ * .tlh
136
+ * .tmp
137
+ * .tmp_proj
138
+ * .log
139
+ * .vspscc
140
+ * .vssscc
141
+ .builds
142
+ * .pidb
143
+ * .svclog
144
+ * .scc
Original file line number Diff line number Diff line change @@ -35,4 +35,45 @@ For developing locally you should follow these steps:
35
35
36
36
- Other npm errors and troubles:
37
37
- Delete all node_modules and package-lock.json and try reinstalling all packages.
38
- - ``` npm i ``` and ``` npm run build ``` in root
38
+ - ``` npm i ``` and ``` npm run build ``` in root
39
+
40
+
41
+ ## Oppsett backend
42
+
43
+ ** Med kubernetes**
44
+
45
+ 1 . F�lg [ how-to for oppsett av kubernetes] ( https://confluence.atlassian.nhn.no/display/HR2/HOW-TO:+Kubernetes+Lokalt )
46
+ 2 . F�lg [ how-to for installasjon av hncli] ( https://confluence.atlassian.nhn.no/display/HR2/HNCli+-+Lokal+installasjon )
47
+ 3 . Deploy tjenesten til kubernetes
48
+ ``` powershell
49
+ devspace deploy
50
+ # N�s n� p�
51
+ # - http://corefrontend-internalapi.localtest.me:30080
52
+ ```
53
+
54
+ 4. Konfigurer
55
+ ```powershell
56
+ dotnet-hncli dev config deploy --env-config dev-mot-k8s
57
+ ```
58
+
59
+ 5 . Du kan n� enten
60
+ - A) Kj�r api inni kubernetes basert p� lokalt bygd image
61
+ ``` powershell
62
+ # Dette innb�rer for alle komponenter
63
+ # - Docker image bygges lokalt
64
+ # - Kubernetes podens image byttes ut med lokalt image
65
+ devpace dev
66
+ ```
67
+ - B) Kj�r api p� din lokale maskin, configurert mot kubernetes resurser, med riktig launch-profile. Evt F5 i Visual Studio.
68
+ ```powershell
69
+ dotnet watch run --launch-profile corefrontend.InternalApi --project .\Source\InternalApi
70
+ dotnet watch run --launch-profile corefrontend.ExternalApi --project .\Source\ExternalApi
71
+ ```
72
+
73
+ ## Generer entities
74
+
75
+ Av ukjent grunn så genereres entities types i forskjellige rekkefølge på windows og linux, derfor må man nå generere de i linux.
76
+
77
+ 1. Start Docker Desktop
78
+ 2. Start linux miljø: `docker run --rm -it -e HNDEV_PAT=$env:HNDEV_PAT -v ${PWD}\:/mnt/repo/ -w /mnt/repo mcr.microsoft.com/dotnet/sdk:8.0`
79
+ 3. Generer entities: `dotnet run --project Source/CoreFrontend.EntitiesGenerator/`
You can’t perform that action at this time.
0 commit comments