123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # First synchronisation of files
- We will go through the first steps to get gin working with your computer version of the data, this is the version 1 of this tutorial meant for windows users.
- This tutorial take for granted you have created, or have write access to a repository on the gin platform.
- ## Install gin
- - Download the latest gin-cli (up to 5 minutes)
- - extract the downloaded files ( up to 15 minutes)
- - double click the set-global file
- - if not working, look at the information of that file and change security settings
- - test: use the command prompt (open via writing cmd in the folder address), and type `gin login` if it ask for a password, it means the installation worked.
- ## Use the comand prompt
- - go to a parent folder where to save your repository files
- - Open a prompt by typing `cmd`in the address bar
- - In the browser, go to your repository, and copy the text you got from the GIN button (next to HTTPS and SSH buttons)
- - In the prompt, paste the text (you need to right-click, command V does not work in the prompt)
- - You may need to type `gin login` and give your credentials first.
- - Wait until the files are downloaded
- ## synchronisation
- - In the prompt type `gin download .` if you want to download big files.
- - You can now add files in the folders as you would normally do on your computer
- - In particular, add the sync.bat file you find [here](https://gin.g-node.org/gin4RRI/gin-scripts/src/master/sync.bat), if none is present
- - When you are finished, double click sync.bat file, it should synchronise your changes with the server.
- # installation not working
- - move the files to a location where you will save your repositories.
- - double click the `gin-shell` file
- - you will not be able to use scripts and will need to open the `gin-shell` file to give gin commands via the prompt.
- - open `gin-shell`
- - type: `gin login`
- - type `gin sync`
- - type: `gin upload .`(the dot is important)
|