> For the complete documentation index, see [llms.txt](https://conduction.gitbook.io/opencatalogi-nextcloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://conduction.gitbook.io/opencatalogi-nextcloud/developers/installatie-van-nextcloud-demo-test-omgeving.md).

# Installatie van Nextcloud Demo/Test-omgeving

> NOTE: De Demo/Testomgeving is aangeraden voor demonstraties of ontwikkeling tegen de OpenCatalogi-app (bijvoorbeeld een User Interface. Indien je aan de OpenCatalogi-app zelf wilt ontwikklen, kijk dan bij de [development-omgeving](/opencatalogi-nextcloud/developers/installatie-van-nextcloud-development-omgeving.md)

## Wat Je Nodig Hebt

Om alles soepel te laten draaien, heb je het volgende nodig:

* [**Docker:**](https://www.docker.com/products/docker-desktop/) en Docker Desktop
* [**WSL2:**](https://learn.microsoft.com/en-us/windows/wsl/install) (Windows Subsystem for Linux) als je Windows gebruikt. Dit kan geïnstalleerd worden via de Microsoft Store.
* **Systeemeisen:** Minimaal 4 GB RAM en 2 CPU's

## Aan de slag

Deze repository heeft een snelle start met een Docker Compose-bestand. Hiermee kun je de applicatie in één keer opstarten.

Volg deze eenvoudige stappen om de applicatie te starten:

1. **Docker Desktop**: [Download](https://www.docker.com/products/docker-desktop/) en installeer Docker Desktop.
2. **WSL2**: [Download](https://learn.microsoft.com/en-us/windows/wsl/install) en installeer via de Microsoft Store.
3. **Code**: [Download](https://github.com/ConductionNL/opencatalogi/archive/refs/heads/master.zip) de code als zip bestand en pak deze uit.
4. **(Optie 1, Start Docker via installer)**
   * [Download](https://raw.githubusercontent.com/OpenCatalogi/.github/main/docs/assets/Start-docker.bat) het `.bat`-bestand. Dit doe je door de link op te slaan (rechtermuisknop opslaan als, let op dat je het bestand opslaat als `.bat`)
   * Plaats het bestand als `.bat` in dezelfde folder als de code.
   * Klik met de rechtermuisknop op het bestand en selecteer uitvoeren **(Optie 2, via command line interface)**
   * Type het volgende commando in de Command prompt en druk op Enter:

     `cd pad/naar/uitgepakte/map`
   * Vervang `pad/naar/uitgepakte/map` door de locatie waar je de bestanden hebt uitgepakt. Bijvoorbeeld:

     `cd C:\Users\{{jouwgebruikersnaam}}\Downloads\opencatalogi-main`
   * Typ het volgende commando in de command prompt en druk op Enter:

     `docker compose up`
   * Wacht tot de applicatie is opgestart. Je ziet veel tekst voorbij komen, het kan 5-10 minuten duren voordat je deze laatste melding ziet:

     `[core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'`
5. **Open de applicatie**: Open je webbrowser en ga naar <http://localhost:8080>
6. **Login**: Voor de standaardinstallatie werkt dit met admin als log **en** admin wachtwoord

De OpenCatalogi-app is te vinden in de Nextcloud-appstore bij de Intergration-categorie.

En dat is het! Volg deze stappen om de OpenCatalogi-app snel en soepel op te zetten.

## De-installeren

Het kan natuurlijk voorkomen dat je na een succesvolle demonstratie de toepassing wil de-installeren, open daarvoor de Docker Desktop interface en

* Vink onder `containers` alle containers aan en druk op 'delete'
* Vink onder `images` alle images aan en druk op 'delete'
* Vink onder `volumes` alle volumes aan en druk op 'delete'
* Verwijder de folder met bestanden die in stap 3 van het installatieproces heb aangemaakt

![alt text](/files/5YraqEqcOntlxhBNw4zr)

## Bijwerken

Vanuit de demo-installatie route is er nog geen optie beschikbaar voor het bijwerken van de applicatie, die zal je moeten de-installeren en installeren.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://conduction.gitbook.io/opencatalogi-nextcloud/developers/installatie-van-nextcloud-demo-test-omgeving.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
