From 07551f9d5bfeac2a9038004891349ae2ebd67cf6 Mon Sep 17 00:00:00 2001 From: SALES Date: Thu, 30 Jun 2022 21:07:18 +1100 Subject: [PATCH 1/4] Better readme --- README.md | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 07ac67f..dc5bb59 100644 --- a/README.md +++ b/README.md @@ -10,25 +10,17 @@ ## :speech_balloon: Temps d'attente dans les différentes agences de l'OPT NC -Projet de stage étudiant autour de la visualisation des données recueillies par les différentes agences de l'OPT NC. +Projet autour de la visualisation des données recueillies par les différentes agences de l'OPT NC. -La visualisation est réalisée grâce à la librairie Javascript p5.js
- +👉 Tous les détails sur ce [post dédié](https://dev.to/optnc/from-waiting-time-metrics-to-generative-art-2d6d). -Ce projet utilise l'API REST des temps d'attente en agence OPT.nc
- +La visualisation est réalisée grâce à la librairie Javascript [`p5.js`](https://p5js.org/). -## :rocket: Lancer les visualisations +Ce projet utilise l'[API REST des temps d'attente en agence OPT.nc](https://github.com/opt-nc/opt-temps-attente-agences-api). -### :whale: Par Docker -``` -docker run --name opt-temps-attente-agences-viz -d -p 80:80 optnc/generative-art-temps-attente -docker run --name opt-temps-attente-agences-api -d -p 8081:8081 optnc/opt-temps-attente-agences-api -docker ps -``` +## :rocket: Lancer les visualisations -### :gear: Ou localement -```sh +```shell git clone https://github.com/adriens/generative-art-temps-attente.git cd generative-art-temps-attente docker-compose up -d @@ -37,7 +29,11 @@ docker ps ## :fireworks: Pour accéder aux visualisations -* (Projet par défaut : Orbit) -* (Version allégée de métriques) -* -* +- (Projet par défaut : Orbit) +- (Version allégée de métriques) +- +- + +# 🔖 Ressources + +- [Article dédié sur DEV.to](https://dev.to/optnc/from-waiting-time-metrics-to-generative-art-2d6d) From ae2d537118aa6a19088d5e82e979eae34d06129d Mon Sep 17 00:00:00 2001 From: Daniel Santos <39691264+Dougniel@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:01:09 +0200 Subject: [PATCH 2/4] docs(README.md): Ancien repo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc5bb59..699daa7 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ Ce projet utilise l'[API REST des temps d'attente en agence OPT.nc](https://gith ## :rocket: Lancer les visualisations ```shell -git clone https://github.com/adriens/generative-art-temps-attente.git -cd generative-art-temps-attente +git clone https://github.com/opt-nc/opt-temps-attente-agences-api.git +opt-temps-attente-agences-api docker-compose up -d docker ps ``` From 34dae9a0f86afb723510f0137d33f13cc31959d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Jan 2023 21:19:09 +0000 Subject: [PATCH 3/4] Bump docker/build-push-action from 3 to 4 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v3...v4) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index db07f74..cb48be8 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -36,7 +36,7 @@ jobs: - name: 🐳 Docker build and push if: github.ref == 'refs/heads/develop' || steps.release.outputs.new_release_published == 'true' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: . push: true From 4430ba83a9415b6cfc68ba1cc2575caae5accd5f Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Thu, 27 Apr 2023 10:56:12 +0700 Subject: [PATCH 4/4] =?UTF-8?q?ci(docker):=20=F0=9F=90=8B=20Documentation?= =?UTF-8?q?=20automatique=20des=20images=20DockerHub=20=E2=99=BE=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Création du DOCKERHUB.md à partir du contenu https://hub.docker.com/repository/docker/optnc/generative-art-temps-attente/general fix https://github.com/opt-nc/GLIA/issues/1146 --- .github/workflows/release-publish.yml | 11 ++++++- DOCKERHUB.md | 43 +++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 DOCKERHUB.md diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index cb48be8..c6df847 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -41,4 +41,13 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} + + - name: ✏️ Update Docker Hub Description + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ secrets.OPT_DOCKERHUB_LOGIN }} + password: ${{ secrets.OPT_DOCKERHUB_PASSWORD }} + repository: optnc/generative-art-temps-attente + short-description: ${{ github.event.repository.description }} + readme-filepath: DOCKERHUB.md \ No newline at end of file diff --git a/DOCKERHUB.md b/DOCKERHUB.md new file mode 100644 index 0000000..2234829 --- /dev/null +++ b/DOCKERHUB.md @@ -0,0 +1,43 @@ +[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) +[![Test, Release](https://github.com/opt-nc/generative-art-temps-attente/actions/workflows/release-publish.yml/badge.svg)](https://github.com/opt-nc/generative-art-temps-attente/actions/workflows/test-release.yml) +[![Docker Image](https://img.shields.io/badge/docker-homepage-blue)](https://hub.docker.com/r/optnc/generative-art-temps-attente) +![Docker Pulls](https://img.shields.io/docker/pulls/optnc/generative-art-temps-attente) +![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/optnc/generative-art-temps-attente/latest) +![Docker Stars](https://img.shields.io/docker/stars/optnc/generative-art-temps-attente) +![Docker Image Version (latest by date)](https://img.shields.io/docker/v/optnc/generative-art-temps-attente/latest) + +# Art Génératif (p5.js) + +## 💬 Temps d'attente dans les différentes agences de l'OPT NC + +Projet de stage étudiant autour de la visualisation des données recueillies par les différentes agences de l'OPT NC. + +La visualisation est réalisée grâce à la librairie Javascript p5.js
+ + +Ce projet utilise l'API REST des temps d'attente en agence OPT.nc
+ + +## 🚀 Lancer les visualisations + +### 🐳 Par Docker +``` +docker run --name opt-temps-attente-agences-viz -d -p 80:80 optnc/generative-art-temps-attente +docker run --name opt-temps-attente-agences-api -d -p 8081:8081 optnc/opt-temps-attente-agences-api +docker ps +``` + +### ⚙️ Ou localement +```sh +git clone https://github.com/opt-nc/generative-art-temps-attente.git +cd generative-art-temps-attente +docker-compose up -d +docker-compose ps +``` + +## 🎇 Pour accéder aux visualisations + +* (Projet par défaut : Orbit) +* (Version allégée de métriques) +* +*