Skip to content

Commit

Permalink
Merge pull request #262 from datalad/doc-gin
Browse files Browse the repository at this point in the history
Add screenshots and some details to GIN walkthrough
  • Loading branch information
jsheunis committed Sep 27, 2022
2 parents ee12ffc + 9b0fc08 commit df6fcc5
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/screenshots-gin/created.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/screenshots-gin/pushed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/screenshots-gin/saved.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 17 additions & 6 deletions docs/source/gin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ and publish it to `GIN <https://gin.g-node.org>`_ (G-Node Infrastructure).
Prerequisites
-------------

.. todo:: note about having ssh key set up
In order to use GIN for hosting and sharing your datasets, you need to:

- Register a GIN account
- Add a personal access token (for creation of repositories with DataLad)
- Add an SSH key (for uploading annexed contents)

Follow the instructions on GIN to do so.
If you want to stay in the world of graphical interfaces, we recommend
`PuTTYgen <https://www.puttygen.com/>`_ for SSH keys generation.

Create a dataset
----------------
Expand All @@ -25,7 +33,7 @@ To do so, select *text2git* from the list of *Configuration procedure(s)* and cl
Finally, check the *OK if target directory not empty* to enforce dataset creation out of a non-empty folder.
With the options selected, click *OK*.

.. todo: screenshot
.. image:: /_static/screenshots-gin/created.png

Save the contents
-----------------
Expand All @@ -38,7 +46,7 @@ Here, we are saving all files at once, but if we wanted we cauld limit the save
or trigger it by clicking on a specific file.
Once ready, click OK.

.. todo: screenshot
.. image:: /_static/screenshots-gin/saved.png

Create a GIN sibling
--------------------
Expand All @@ -49,11 +57,14 @@ Fill in the *New repository name on Gin* (and, optionally, check the *Make GIN r
You can leave all other options default.

In the *Name of the credential to be used* field, you can pick previously used credentials.
If no value is given, and no previous credentials exist, the credentials will be save with ... by default.
If no value is given, and no previous credentials exist, the credentials will be save with website name (`gin.g-node.org`) by default.

Click OK.

.. todo: screenshot
At this point, you will be asked for a token.
Paste the access token generated from GIN website, and click OK.

.. image:: /_static/screenshots-gin/created-sibling.png

Push to the GIN sibling
-----------------------
Expand All @@ -62,7 +73,7 @@ Right-click *Dataset commands* → *Push data/updates to a sibling*.
The only thing you need to select is the value of *To dataset sibling* - this will be the sibling name from the step above.
Click OK.

.. todo: screenshot
.. image:: /_static/screenshots-gin/pushed.png

Retrieve the data from GIN
--------------------------
Expand Down

0 comments on commit df6fcc5

Please sign in to comment.