2024-07-30 10:10:18 +02:00
# IPCEICIS-DeveloperFramework Documentation
This repo contains business and architectural design and documentation of the DeveloperFramework subproject of IPCEI-CIS.
## How to read and contribute to this documentation locally
The documentation is done in [Hugo-format ](https://gohugo.io ).
The repo contains a [Hugo `.devcontainer`-defintion ](https://containers.dev/ ) so that you just have to run locally an IDE which is devcontainer aware, e.g. Visual Studio code.
### Installation
To get a locally running documentation editing and presentation environment, follow these steps:
1. open a terminal on your local box
2024-08-28 17:20:57 +02:00
2. clone this repo: `git clone https://bitbucket.telekom-mms.com/scm/ipceicis/ipceicis-developerframework.git `
3. change to the repo working dir: `cd ipceicis-developerframework`
4. open the repo in an [Devcontainer-aware tool/IDE ](https://containers.dev/supporting ) (e.g. `code .` )
5. start the `devcontainer` (in VSC it's `F1 + Reopen in Devcontainer` )
6. when the container is up & running just open your browser with `http://localhost:1313/`
2024-07-30 10:10:18 +02:00
2024-10-21 07:21:21 +00:00
If you want to run the devcontainer without VS Code, you can use npm to run it inside a docker container:
2024-09-26 14:44:53 +02:00
1. install Node.js (>= Version 14), npm and the docker engine
2. install the devcontainer cli: `npm install -g @devcontainers/cli`
3. change into the folder of this repo
4. start the devcontainer by running: `devcontainer up --workspace-folder .`
5. find out the IP address of the devconatiner by using `docker ps` and `docker inspect <id of container>`
6. when the container is up & running just open your browser with `http://<DOCKER IP>:1313/`
2024-07-30 10:10:18 +02:00
### Editing
#### Documentation language
2024-09-03 10:39:41 +02:00
The documentation is done in [Docsy-Theme ](https://www.docsy.dev/ ).
2024-07-30 10:10:18 +02:00
2024-09-03 10:39:41 +02:00
So for editing content just goto the `content` -folder and edit content arrording to the [Docsy documentation ](https://www.docsy.dev/docs/adding-content/ )
2024-07-30 10:10:18 +02:00
### Commiting
2024-07-30 11:39:14 +02:00
After having finished a unit of work commit and push.
2024-09-03 10:39:41 +02:00
## Annex
### Installation steps illustrated
2024-07-30 11:39:14 +02:00
When you run the above installation, the outputs could typically look like this:
2024-09-03 10:39:41 +02:00
#### Steps 4/5 in Visual Studio Code
##### Reopen in Container
2024-07-30 11:39:14 +02:00
2024-09-03 10:39:41 +02:00

2024-07-30 11:39:14 +02:00
2024-09-03 10:39:41 +02:00
##### Hugo server is running and (typically) listens to localhost:1313
2024-07-30 11:39:14 +02:00
2024-09-03 10:39:41 +02:00
After some installation time you have:
2024-07-30 11:39:14 +02:00
2024-09-03 10:39:41 +02:00

2024-07-30 11:39:14 +02:00
2024-09-03 10:39:41 +02:00
#### Steps 6 in a web browser
2024-07-30 11:39:14 +02:00
2024-09-03 10:39:41 +02:00
