windows 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # First synchronisation of files
  2. 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.
  3. This tutorial take for granted you have created, or have write access to a repository on the gin platform.
  4. ## Install gin
  5. - Download the latest gin-cli (up to 5 minutes)
  6. - extract the downloaded files ( up to 15 minutes)
  7. - double click the set-global file
  8. - if not working, look at the information of that file and change security settings
  9. - 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.
  10. ## Use the comand prompt
  11. - go to a parent folder where to save your repository files
  12. - Open a prompt by typing `cmd`in the address bar
  13. - In the browser, go to your repository, and copy the text you got from the GIN button (next to HTTPS and SSH buttons)
  14. - In the prompt, paste the text (you need to right-click, command V does not work in the prompt)
  15. - You may need to type `gin login` and give your credentials first.
  16. - Wait until the files are downloaded
  17. ## synchronisation
  18. - In the prompt type `gin download .` if you want to download big files.
  19. - You can now add files in the folders as you would normally do on your computer
  20. - 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
  21. - When you are finished, double click sync.bat file, it should synchronise your changes with the server.
  22. # installation not working
  23. - move the files to a location where you will save your repositories.
  24. - double click the `gin-shell` file
  25. - you will not be able to use scripts and will need to open the `gin-shell` file to give gin commands via the prompt.
  26. - open `gin-shell`
  27. - type: `gin login`
  28. - type `gin sync`
  29. - type: `gin upload .`(the dot is important)