Giter VIP home page Giter VIP logo

feelpp-project's Introduction

Feel++ Template Project

CI

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

  • ✓ Feel++ applications in C++ to use Feel++ and Feel++ toolboxes in src

  • ✓ documentation using asciidoc and antora

  • ✓ python Feel++ notebooks that can be downloaded from the documentation

  • ✓ continuous integration including tests for the C++ applications

  • ✓ docker image generation for the project

The documentation for feelpp-project is available at here and you can build on it for your project by enabling the github pages for your repository.

Renaming the project

By default the project is named feelpp-project if you cloned the repository feelpp/feelpp-project. 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 argument.

Warning
the script rename.sh will rename the project however some url might 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.

Updating the feelpp-project version

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.

Release process

  • ✓ update the version in CMakeLists.txt

  • ✓ update the version in docs/antora.yml

  • ✓ 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

feelpp-project's People

Contributors

dependabot[bot] avatar ggrossetie avatar prudhomm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

feelpp-project's Issues

improve antora support

our antora-ui is improving, we need to reflect these changes into Feel++ project template repo

improve navigation
add python examples for feel++
add new configurable home layout

fails to run out of the box in vscode with devcontainer

Hi,
I've tried to clone this repo and run with vscode.
I add some errors.
I had to do this to get it work with ghcr.io/feelpp/feelpp-toolboxes:feature-toolboxes-v0.110.0-alpha.3-ubuntu-20.04

diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 3c6197a..c5c2f56 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -9,7 +9,7 @@
        },
        // Set *default* container specific settings.json values on container create.
        "settings": {
-               "terminal.integrated.shell.linux": "/bin/bash",
+               "terminal.integrated.defaultProfile.linux": "bash",
                "clangd.arguments": [
                        "--compile-commands-dir=build/",
                        "--all-scopes-completion",
@@ -41,28 +41,21 @@
        // "forwardPorts": [],
        // Use 'postCreateCommand' to run commands after the container is created.
        "postCreateCommand": "uname -a",
-       // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
-       "remoteUser": "vscode",
        "mounts": [
                //"source=${localEnv:HOME}${localEnv:USERPROFILE},target=/host-home-folder,type=bind,consistency=cached"
-//             "source=${localWorkspaceFolder}/app-data,target=/data,type=bind,consistency=cached"
+               //"source=${localWorkspaceFolder}/app-data,target=/data,type=bind,consistency=cached"
        ],
        /*Uncomment the section below to enable GUI support then rebuild the container. A Window with a rotating horse should appear on startup if successful*/
        // "initializeCommand": "echo $(xhost +local:root)",
        "runArgs": [
-               //      "--gpus",
-               //      "all",
-                       "-v",
-               //      "/tmp/.X11-unix:/tmp/.X11-unix",
-               // "--device",
-               // "/dev/snd",
-               //"--cap-add=SYS_PTRACE",
-               //"--security-opt",
-               //"seccomp=unconfined"
+               //      "--gpus", "all",
+               "--cap-add=SYS_PTRACE", 
+           "--security-opt", "seccomp=unconfined",
+        "--net", "host", 
+        "-e", "DISPLAY=${env:DISPLAY}",
+        "-v", "/tmp/.X11-unix:/tmp/.X11-unix"
        ],
-       // "containerEnv": {
-       //      "QT_X11_NO_MITSHM": "1",
-       //      "DISPLAY": "${localEnv:DISPLAY}"
-       // },
        // "postAttachCommand": "sudo ldconfig && echo $(glmark2) &",
+       // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
+       "remoteUser": "feelpp",
 }
\ No newline at end of file

fix rename script

rename.sh allows to rename the entire project and adapt

  • the website
  • the CI
  • the packages

This needs to be extended to the recent develop in v3

automatically rename project when used as template

when this repository is used as a template, it should automatically be renamed using the new repository's name.
To do that we should use github action that

  • first triggers at creation of the repo a workflow
  • then disables the workflow so that it cannot be used anymore

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.