Commit 9e0d7307 authored by Jean-Francois Rey's avatar Jean-Francois Rey

update README

parent d417d971
......@@ -13,10 +13,10 @@ and deploy it to a server. All tasks (jobs) are set in the __.gitlab-ci.yml__ fi
- [Prerequisites](#prerequisites)
- [Files](#files)
- [Principle](#principle)
- [Set GitLab](#set_gitlab)
- [Set GitLab](#set-gitlab)
- [The Project](#the-project-repository)
- [The Runners](#the-runners)
- [The .gitlab-ci.yml file](#the-.gitlab-ci.yml-file)
- [The .gitlab-ci.yml file](#the-gitlab-ciyml-file)
- [Dockerfile](#dockerfile)
- [Test the docker image](#test-the-docker-image)
- [Author](#author)
......@@ -27,7 +27,7 @@ and deploy it to a server. All tasks (jobs) are set in the __.gitlab-ci.yml__ fi
* Have to know:
* GitLab project management
* R Shiny App
* R Shiny App
* Should to know :
* GitLab Runners principle
......@@ -108,14 +108,14 @@ If __buildImageDocker__ job __passed__ the docker image should be available in _
Here you can copy an image name \<_imageName:tag_\> , for example here __gitlab.paca.inra.fr:4567/r-ecosystem/cookbooks/r-shiny-app-ci-cd:latest__ , and run it on you PC.
To run this R Shiny App :
```
```sh
sudo docker run -p 8080:3838 --name rshinyapp -d gitlab.paca.inra.fr:4567/r-ecosystem/cookbooks/r-shiny-app-ci-cd:latest
```
Go to [http://localhost:8080](http://localhost:8080)
For generic project :
```
```sh
# connect to container registry of you GitLab
# not needed but can by useful
sudo docker login -u <YourUserID> <GitlabRegistryURL>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment