From 079cd48b4978218a3bc5417d55da90f2a29b70f3 Mon Sep 17 00:00:00 2001 From: espenhalsen Date: Wed, 13 Dec 2023 10:27:46 +0100 Subject: [PATCH 1/4] Update local testing documentation --- content/app/testing/local/_index.en.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/content/app/testing/local/_index.en.md b/content/app/testing/local/_index.en.md index 06d1dac8238..20aed0fb14b 100644 --- a/content/app/testing/local/_index.en.md +++ b/content/app/testing/local/_index.en.md @@ -5,26 +5,21 @@ description: Description of how test of an app locally on your own machine. weight: 100 aliases: - /app/testing/local/ -tags: [translate-to-english] --- -Dersom man skal skrive en del kode (f.eks. [logikk](/app/development/logic/)), eller kjapt sjekke hvordan skjema ser ut kan det være nytting å kunne teste endringer uten å måtte deploye hele appen til testmiljø. +If you need to write a significant amount of code (e.g., [logic](/app/development/logic/)), or quickly check how a form looks, it can be useful to test changes without having to deploy the entire app to a test environment. -Når appen lages, kommer den med alle nødvendige filer og oppsett til å kunne kjøres som en frittstående applikasjon. Ved å laste ned alle filene knyttet til appen fra repoet til appen, kan man kjøre -appen lokalt på egen maskin, og på den måten enkelt teste endringer. +When the app is created, it comes with all the necessary files and settings to run as a standalone application. By downloading all the files associated with the app from its repository, you can run the app locally on your own machine, thereby easily testing changes. -I testmiljø bruker appen et sett med plattform-tjenester for å kunne hente ut/lagre data osv. Det er opprettet en forenklet versjon av disse tjenestene som kan settes opp og kjøres lokalt, og dette er -nødvendig for at appen skal kunne testes lokalt. +In the test environment, the app uses a set of platform services to retrieve/store data, etc. A simplified version of these services has been created that can be set up and run locally, and this is necessary for the app to be tested locally. -## Kjøre appen lokalt +## Running the App Locally -1. Naviger til app repoet i Altinn Studio. Se [her](/app/getting-started/navigation/repos/) for hvordan man navigerer seg dit. -2. Last ned alle filene i repoet - - ved å bruke `git clone` kommandoen [(les mer)](https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository) - - ved å trykke på nedlastingsikonet (da lastes det ned som en zip-fil) +1. Navigate to the app repository in Altinn Studio. See [here](/app/getting-started/navigation/repos/) for how to navigate there. +2. Download all the files in the repository + - by using the `git clone` command [(read more)](https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository) + - by clicking the download icon (this downloads it as a zip file) - -Se [Altinn Studio på Github](https://github.com/Altinn/app-localtest/blob/master/README.md) for informasjon om hvordan man laster ned -og kjører den lokale plattformen,og hvordan man kjører appen. +See [Altinn Studio on Github](https://github.com/Altinn/app-localtest/blob/master/README.md) for information on how to download and run the local platform, and how to run the app. {{}} From 82b0332c0bee8ac29d5a2265a324e332765b7b36 Mon Sep 17 00:00:00 2001 From: Halsen <89974012+espenhalsen@users.noreply.github.com> Date: Tue, 19 Dec 2023 11:42:29 +0100 Subject: [PATCH 2/4] Update content/app/testing/local/_index.en.md Co-authored-by: Stephanie Buadu <47737608+acn-sbuad@users.noreply.github.com> --- content/app/testing/local/_index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/app/testing/local/_index.en.md b/content/app/testing/local/_index.en.md index 20aed0fb14b..3153d241b19 100644 --- a/content/app/testing/local/_index.en.md +++ b/content/app/testing/local/_index.en.md @@ -13,7 +13,7 @@ When the app is created, it comes with all the necessary files and settings to r In the test environment, the app uses a set of platform services to retrieve/store data, etc. A simplified version of these services has been created that can be set up and run locally, and this is necessary for the app to be tested locally. -## Running the App Locally +## Running the app locally 1. Navigate to the app repository in Altinn Studio. See [here](/app/getting-started/navigation/repos/) for how to navigate there. 2. Download all the files in the repository From a75d9dd82324848b9b008a64f6cf08f1e9a94825 Mon Sep 17 00:00:00 2001 From: Halsen <89974012+espenhalsen@users.noreply.github.com> Date: Tue, 19 Dec 2023 11:42:44 +0100 Subject: [PATCH 3/4] Update content/app/testing/local/_index.en.md Co-authored-by: Stephanie Buadu <47737608+acn-sbuad@users.noreply.github.com> --- content/app/testing/local/_index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/app/testing/local/_index.en.md b/content/app/testing/local/_index.en.md index 3153d241b19..0609658d761 100644 --- a/content/app/testing/local/_index.en.md +++ b/content/app/testing/local/_index.en.md @@ -7,7 +7,7 @@ aliases: - /app/testing/local/ --- -If you need to write a significant amount of code (e.g., [logic](/app/development/logic/)), or quickly check how a form looks, it can be useful to test changes without having to deploy the entire app to a test environment. +If you need to write a significant amount of code (e.g., [logic](/app/development/logic/)), or quickly check how a form looks, it can be useful to test changes without having to deploy the app to a test environment. When the app is created, it comes with all the necessary files and settings to run as a standalone application. By downloading all the files associated with the app from its repository, you can run the app locally on your own machine, thereby easily testing changes. From fc9fabb0a83eed982d3e61f940a8f206e7abc148 Mon Sep 17 00:00:00 2001 From: Halsen <89974012+espenhalsen@users.noreply.github.com> Date: Tue, 19 Dec 2023 11:43:02 +0100 Subject: [PATCH 4/4] Update content/app/testing/local/_index.en.md Co-authored-by: Stephanie Buadu <47737608+acn-sbuad@users.noreply.github.com> --- content/app/testing/local/_index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/app/testing/local/_index.en.md b/content/app/testing/local/_index.en.md index 0609658d761..28595ac4289 100644 --- a/content/app/testing/local/_index.en.md +++ b/content/app/testing/local/_index.en.md @@ -11,7 +11,7 @@ If you need to write a significant amount of code (e.g., [logic](/app/developmen When the app is created, it comes with all the necessary files and settings to run as a standalone application. By downloading all the files associated with the app from its repository, you can run the app locally on your own machine, thereby easily testing changes. -In the test environment, the app uses a set of platform services to retrieve/store data, etc. A simplified version of these services has been created that can be set up and run locally, and this is necessary for the app to be tested locally. +In the test environment, the app uses a set of platform services to retrieve/store data, etc. A simplified version of these services is available to set up and run locally. This is necessary for the app to be tested locally. ## Running the app locally