Skip to content
Snippets Groups Projects
Commit 88e2c8e9 authored by Albin Heimerson's avatar Albin Heimerson
Browse files

Update readme

parent 967ac6db
No related branches found
No related tags found
No related merge requests found
# Automatic sync between gitlab and canvas # Automatic sync between gitlab and canvas
File to handle automatic syncing of files between gitlab and canvas. Mor information [here](https://wiki.control.lth.se/versionControl/canvasSync). File to handle automatic syncing of files between gitlab and canvas. More information [here](https://wiki.control.lth.se/versionControl/canvasSync).
## Setup ## Setup
* Copy the gitlab-ci.yml file from this repo and place in the root of the new repo with the name .gitlab-ci.yml, notice the dot at the start of the name. * Copy the gitlab-ci.yml file from this repo and place in the root of the new repo with the name .gitlab-ci.yml, notice the dot at the start of the name.
* Modify the environment variable CANVAS_COURSE_CODE in the new file to correspond to the course code canvas uses in its url. * Modify the environment variable CANVAS_COURSE_CODE in the new file to correspond to the course code canvas uses in its url. This can be found by opening the canvas page for the course and looking at the url, it should be of the form `https://canvas.education.lu.se/courses/ID_NUMBER/`.
* Create the folder `to_canvas` in the root of the repository and put files you want synced there. * Create the folder `to_canvas` in the root of the gitlab repository and put any files/folders that should be synced in there. They will show up in a `from_git` folder in the canvas file explorer.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment