Skip to content

Commit

Permalink
update README.md from README.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
prudhomm committed Nov 16, 2024
1 parent 32fd301 commit e6b6332
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 21 deletions.
64 changes: 45 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,57 @@
# Kub Hpda Ml
Author: Christophe Prud'homme ![GitHub](https://github.com/prudhomm)
Version: v2
# Ktirio Urban Building AI HPDA code

![CI](https://github.com/feelpp/hid-ai-hpda-ub/workflows/CI/badge.svg)
## Setup Environment

This repository provides a basic starting point for a Feel++ application including:
To start, you need to install the following tools:

```
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```

The previous commands will create a virtual environment and install the required packages including the hid-ai-hpda-ub package.
Once the installation is done, you can start using the package or run the notebooks in `src/notebooks/`.

- [x] Feel++ applications in C++ to use Feel++ and Feel++ toolboxes in `src`
- [x] Documentation using asciidoc and antora
- [x] Python Feel++ notebooks that can be downloaded from the documentation
- [x] Continuous integration including tests for the C++ applications
- [x] Docker image generation for the project
## Visual Studio Code

The documentation for hid-ai-hpda-ub is available [here](https://feelpp.github.io/hid-ai-hpda-ub), and you can build on it for your project by enabling the [github pages](https://docs.github.com/en/pages) for your repository.
In order to use Visual Studio Code, you need to install the following extensions:

## Renaming the project
* Python
* CMake
* Docker
* Jupyter
* AI Code

By default, the project is named `hid-ai-hpda-ub` if you cloned the repository `feelpp/hid-ai-hpda-ub`. However, if you used the previous repository as a template, then the project is renamed using the name of the repository using the script `rename.sh` at the initialization of the repository. If the name does not suit you, you can change it again using the script `rename.sh` and providing the new name as an argument.
We have configured `.vscode/extensions.json` to automatically install recommended extensions when you open the project in Visual Studio Code.

> **Warning**: The script `rename.sh` will rename the project. However, some URLs might not be set properly if you rename the project yourself. You need to check the following files: `docs/site.yml` and `docs/package.json` and fix the URLs after the rename process is done.
## Feel++ Template Project

This repository provides a basic starting point for a Feel++ application including:

## Updating the project version
* [x] Feel++ applications in C++ to use Feel++ and Feel++ toolboxes in `src`
* [x] documentation using asciidoc and antora
* [x] continuous integration including tests for the C++ applications
* [x] docker image generation for the project
* [x] notebooks are in src/notebooks

The version of the project is defined in the files `CMakeLists.txt`, `docs/antora.yml`, and `docs/package.json`. You need to update with the same version in all files.
The documentation for hid-ai-hpda-ub is available at [here](https://feelpp.github.io/hid-ai-hpda-ub) and you can build on it for your project by enabling the [github pages](https://docs.github.com/en/pages) for your repository.

## Updating the hid-ai-hpda-ub version

The version of the project is defined in the files `CMakeLists.txt`, `docs/antora.yml`, `pyproject.toml` and `package.json`.
You need to update with the same version in all files.

## Release process

- [x] Update the version in `CMakeLists.txt`
- [x] Update the version in `docs/antora.yml`
- [x] Commit the changes with the message "Release vx.y.z". At this point, the CI will generate the docker image and push it to Docker Hub.
* [x] update the version in CMakeLists.txt
* [x] update the version in docs/antora.yml
* [x] update the version in package.json
* [x] commit the version in pyproject.toml
* [x] commit the changes with the message "Release vx.y.z". At this point the CI will generate the docker image and push it to docker hub

## Team

* Christophe Prud’homme <@prudhomm>
* Javier Cladellas <@JavierCladellas>
* ...
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@
"@antora/site-generator": "^3.1",
"@antora/site-generator-default": "^3.1",
"@asciidoctor/core": "2.2.6",
"@feelpp/asciidoctor-extensions": "1.0.0-rc.11",
"asciidoctor": "2.2.6",
"asciidoctor-jupyter": "^0.6.0",
"asciidoctor-kroki": "^0.18.1",
"downdoc": "^1.0.2-stable",
"handlebars": "^4.7.8",
"handlebars-utils": "^1.0.6",
"@feelpp/asciidoctor-extensions": "1.0.0-rc.11"
"handlebars-utils": "^1.0.6"
},
"devDependencies": {
"broken-link-checker": "^0.7.8",
Expand Down

0 comments on commit e6b6332

Please sign in to comment.