Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 7030625e rédigé par Erwan BOUSSE's avatar Erwan BOUSSE
Parcourir les fichiers

Fix URLs

parent 78f468aa
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -16,9 +16,9 @@
image:https://gitlab.univ-nantes.fr/dde/ressources/simplestblog/badges/main/pipeline.svg[link="https://gitlab.univ-nantes.fr/dde/ressources/simplestblog/-/commits/main",title="Pipeline status"]
image:https://gitlab.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog/badges/main/pipeline.svg[link="https://gitlab.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog/-/commits/main",title="Pipeline status"]
image:https://gitlab.univ-nantes.fr/dde/ressources/simplestblog/badges/main/coverage.svg[link="https://gitlab.univ-nantes.fr/dde/ressources/simplestblog/-/commits/main",title="Coverage report"]
image:https://gitlab.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog/badges/main/coverage.svg[link="https://gitlab.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog/-/commits/main",title="Coverage report"]
== Presentation
......@@ -86,7 +86,7 @@ Note that the `MYSQL_DATABASE_USER` should own this database.
==== Installation
Builds are available on https://gitlab.univ-nantes.fr/dde/ressources/simplestblog/-/packages[this page].
Builds are available on https://gitlab.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog/-/packages[this page].
Download the `.whl` file of a given build, then open a terminal in the download folder.
......@@ -137,7 +137,7 @@ The application listens on port 5000, therefore you should be able to access it
=== Install and run with the container image
Container images with the application are available on https://gitlab.univ-nantes.fr/dde/ressources/simplestblog/-/packages[this page].
Container images with the application are available on https://gitlab.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog/-/packages[this page].
Note that the provided container image pre-sets the `SIMPLESTBLOG_SETTINGS_FILE` variable to `/config.py`, which means one simply has to use a volume to provide a valid configuration file at the `/config.py` location within the container.
......@@ -148,7 +148,7 @@ Note that the provided container image pre-sets the `SIMPLESTBLOG_SETTINGS_FILE`
To initialize the database:
```
$ podman container run -v <path_to_configuration>:/config.py docker-registry.univ-nantes.fr/dde/ressources/simplestblog:latest flask --app simplestblog init-db
$ podman container run -v <path_to_configuration>:/config.py docker-registry.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog:latest flask --app simplestblog init-db
```
with `<path_to_configuration>` a valid path to a configuration file for the application.
......@@ -158,7 +158,7 @@ with `<path_to_configuration>` a valid path to a configuration file for the appl
To run the application:
```
$ podman container run -v <path_to_configuration>:/config.py -p 5000:5000 docker-registry.univ-nantes.fr/dde/ressources/simplestblog:latest flask --app simplestblog run
$ podman container run -v <path_to_configuration>:/config.py -p 5000:5000 docker-registry.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog:latest flask --app simplestblog run
```
with `<path_to_configuration>` a valid path to a configuration file for the application.
......@@ -177,7 +177,7 @@ We explain in this part how to setup a development environment for working on si
Clone the repository and visit the folder:
....
$ git clone https://gitlab.univ-nantes.fr/dde/ressources/simplestblog
$ git clone https://gitlab.univ-nantes.fr/gl/developpement_exploitation/ressources/simplestblog
$ cd simplestblog
....
......
......@@ -3,7 +3,7 @@ version: '3'
services:
app:
image: "docker-registry.univ-nantes.fr/dde/resources/simplestblog:{{ simplestblog_container_image_tag }}"
image: "docker-registry.univ-nantes.fr/gl/developpement_exploitation/resources/simplestblog:{{ simplestblog_container_image_tag }}"
restart: unless-stopped
ports:
- "{{ simplestblog_network_listen_address }}:8080"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter