Commit 951fc9c8 authored by Damiano Falcioni's avatar Damiano Falcioni
Browse files

update

parent 7a06e32c
......@@ -18,12 +18,13 @@ When deployed locally it can be reachable at `http://127.0.0.1/public-olive/site
## Configure
1) Upload in the `Microservice Controller` every microservice configuration JSON file available in the `.\microservices\` folder
2) Edit the file `.\integration-pages\projectsFromGitLabMarkdown.html` adapting the following parameters:
2) Edit the file `.public-olive\sites\omilab_v2\index.html` adapting the following parameters in the CONFIG variable:
- mscEndpoint: Add here the public link of the deployed Microservice Controller
- gitlabUrl: Add here the url of your GitLab portal
- gitlabGroupId: Add here the id of the GitLab group containing the students projects
- gitlabGroupPage: Add here the public link of the GitLab group containing the students projects
3) Adapt the university course name editing the HTML file under `public-olive\sites\omilab_v2\index.html`
3) Edit the file `.public-olive\sites\omilab_v2\index.html` adapting the university course name
## Create GitLab Content
A sample of GitLab content is available at [https://git.boc-group.eu/uc-km-2020](https://git.boc-group.eu/uc-km-2020)
......@@ -35,6 +36,10 @@ A sample of GitLab content is available at [https://git.boc-group.eu/uc-km-2020]
- the minimum required keys are `affiliation`, `keywords`, `menu1`
- `menu1`, `menu2`, etc. must be a single word and referring to title (identified with the markdown element `#`) in the README.md
- An example is [here](https://git.boc-group.eu/uc-km-2020/group-01/-/blob/master/README.md)
4) Give to the students the `owner` rights to edit the content
5) Add a decription and an avatar in the Project setting (students should do it)
6) Add content to the README.md file in markdown format (students should do it)
\ No newline at end of file
- Optional keys are:
- `title`: if not provided the GitLab Project name will be used
- `excepit`: if not provided the GitLab Project description will be used
- `imgUrl`: if not provided the GitLab Project avatar will be used
4) Give to the students the `maintainer` right on the project, to edit the content
5) Students can now edit the project decription and avatar in the Project setting
6) Students can now add content to the README.md file of the project, in markdown format
\ No newline at end of file
......@@ -14,9 +14,11 @@ CONFIG.mscEndpoint ||= 'https://adoxx.org/micro-service-controller-rest/rest/';
CONFIG.microserviceId ||= '3e2cd06a-161c-409a-8966-e7b1ea4c336c';
CONFIG.numColumns ||= 4;
CONFIG.title ||= 'Projects';
// you can choose between the following configuration parameters:
CONFIG.gitlabUrl ||= 'https://git.boc-group.eu'; // https://git.boc-group.eu https://gitlab.dke.univie.ac.at/
CONFIG.gitlabGroupId ||= '78'; // 78 484
CONFIG.gitlabGroupPage ||= 'https://git.boc-group.eu/uc-km-2020';
// or
//CONFIG.gitlabUrl ||= 'https://git.boc-group.eu';
//CONFIG.gitlabProjectId ||= '186';
......
......@@ -14,6 +14,7 @@ CONFIG.numColumns ||= 4;
CONFIG.title ||= 'Projects';
CONFIG.gitlabUrl ||= 'https://git.boc-group.eu'; // https://git.boc-group.eu https://gitlab.dke.univie.ac.at/
CONFIG.gitlabGroupId ||= '78'; // 78 484
CONFIG.gitlabGroupPage ||= 'https://git.boc-group.eu/uc-km-2020';
var projectsFromGitLab = OliveUI.modules.newProjectsFromGitLabMarkdownDirectUI(CONFIG);
$('#olive_content').empty().append(
......
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