Required tools
Git is the tool used to update nwsync files. The command lines to execute will be given below, but you can also use a graphical client such as TortoiseGit instead.
The second thing needed is a GitLab account.
GitLab project configuration
- Create an account on GitLab if you do not already have one: https://gitlab.com/users/sign_up
- In the top-right corner, you should see a + sign. From the dropdown, select "New project/repository".
- From the new page, select "Create blank project". More documentation can be found here: https://docs.gitlab.com/user/project/
- Choose a project-name, and a visibility level. Important: uncheck "Initialize repository with a README"
- Clone the project on your computer, either with command-line, or TortoiseGit. The repository URL is in the dropdown black "Code" button. If you do not have a ssh-key, or don't know what it is, select "Clone with https"
Initial project configuration
The purpose of this part is to clone an existing project, and then merge this project into your project.
- In another directory, which is not a sub-directory of where you cloned the repository above, clone the project https://gitlab.com/nwn.ovh/nwn-gitlab-nwsync
- Copy all the directory contents from this new folder into the folder you cloned in the previous section.
- git + git lfs + git rebase/amend
- gitlab new project + configuration
- creating the repo
- enabling the gitlab pages