Skip to content

Commit

Permalink
Merge pull request #30 from ITC-CRIB/docs/review
Browse files Browse the repository at this point in the history
Docs/review
  • Loading branch information
manuGil authored Mar 22, 2023
2 parents 586fbd6 + 9a47bc0 commit ef30ccb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
2 changes: 2 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Windows
python -m pip install .
.. warning::
For the above to work, you need Pyton in the PATH environment variable on Windows. If your not sure that is the case. Open the Shell, and type :code:`python --version`. You should see the version of Python on the screen. If you see otherwise, follow these steps to `add Python to the PATH on Windows <https://realpython.com/add-python-to-path/#how-to-add-python-to-path-on-windows>`_

Installing Python Package Only
--------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Using the CLI
This tutorial shows how to use the *fairly* Command Line Interface to clone, and create datasets, and to edit their metadata.

.. important::
For the following to work, you need Pyton in the PATH environment variable on Windows. If your not sure that is the case. Open the Shell, and type :code:`python --version`. You should see the version of Python on the screen. If you see otherwise, follow these steps to `add Python to the PATH on Windows <https://realpython.com/add-python-to-path/#how-to-add-python-to-path-on-windows>`_
**Windows Users.** For the following to work, you need Pyton in the PATH environment variable on Windows. If your not sure that is the case. Open the Shell, and type :code:`python --version`. You should see the version of Python on the screen. If you see otherwise, follow these steps to `add Python to the PATH on Windows <https://realpython.com/add-python-to-path/#how-to-add-python-to-path-on-windows>`_

1. Open a *Terminal* or *Shell*

Expand Down Expand Up @@ -107,7 +107,7 @@ The :code:`manifest.yaml` file contains several sections to describe the medatad
However, if you are not sure which repository you will use to publish a dataset, use the :guilabel:`default` option. This template contains the most common sections and fields for the repositories supported by *fairly*

.. note::
that independently of which template you use to start a dataset, the :code:`manifest.yaml` file is interoperable between data repositories, with very few exceptions. This means that you can use the same manifest file for various data repositories. Different templates are provided only as a guide to indicate what metadata is possible to provide in each data repository.
Independently of which template you use to start a dataset, the :code:`manifest.yaml` file is interoperable between data repositories, with very few exceptions. This means that you can use the same manifest file for various data repositories. Different templates are provided only as a guide to indicate what metadata is possible to provide in each data repository.

1. Open the :code:`manifest.yaml` using a text editor. On Linux/MacOS you can use **nano** or **vim**. On Windows use the **notepad**

Expand Down
28 changes: 14 additions & 14 deletions docs/tutorials/jupyterlab.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@ Start JupyterLab

Star JupyterLab with the **fairly** extension. This will start JupterLab in your browser.

Linux / MacOS
''''''''''''''''

From the terminal, run:

.. code-block:: shell
jupyter lab
Windows
''''''''

Expand All @@ -34,6 +24,16 @@ On the shell type the following and press `Enter`:
jupyter lab
Linux / MacOS
''''''''''''''''

From the terminal, run:

.. code-block:: shell
jupyter lab
JupyterLab should automatically start on you browser.

Expand Down Expand Up @@ -85,9 +85,9 @@ Now, we will show you how can you create and prepare your own dataset using the
Include Files in your Dataset
''''''''''''''''''''''''''''''''

Add some folders and files the :code:`mydataset` directory. You can add files of your own, but be careful not to include anything that you want to keep confidential. Also consider the total size of the files you will add, the larger the size the longer the upload will take. Also remember that for the current Zenodo API each file should be :code:`100MB` or smaller; this will change in the future.
Add some files to the :code:`mydataset` directory. You can add files of your own, but be careful not to include anything that you want to keep confidential. Also consider the total size of the files you will add, the larger the size the longer the upload will take. Also remember that for the current Zenodo API each file should be :code:`100MB` or smaller; this will change in the future.

If you do not want to use files from your own, you can download and use the `dumy-data <https://drive.google.com/drive/folders/160N6MCmiKV3g-74idCgyyul9UdoPRO8T?usp=share_link>`_
If you do not want to use files from your own, you can download and use the `dummy-data <https://drive.google.com/drive/folders/160N6MCmiKV3g-74idCgyyul9UdoPRO8T?usp=share_link>`_

After you have added some file and/or folders to :code:`mydataset`, JupyterLab should look something like this:

Expand All @@ -101,7 +101,7 @@ The :code:`manifest.yaml` file contains several sections to describe the medatad
However, if you are not sure which repository you will use to publish a dataset, use the :guilabel:`Default` template. This template contains the most common sections and fields for the repositories supported by the Fairly Toolset.

.. note::
that independently of which template you use to start a dataset, the :code:`manifest.yaml` file is interoperable between data repositories, with very few exceptions. This means that you can use the same manifest file for various data repositories. Different templates are provided only as a guide to indicate what metadata is possible to provide in each data repository.
Independently of which template you use to start a dataset, the :code:`manifest.yaml` file is interoperable between data repositories, with very few exceptions. This means that you can use the same manifest file for various data repositories. Different templates are provided only as a guide to indicate what metadata is possible to provide in each data repository.

1. Open the :code:`manifest.yaml` file using the context menu, or by doble-clicking on the file

Expand Down Expand Up @@ -174,7 +174,7 @@ A personal token is a way in which data repositories identify a user. We need to
Configure Fairly for Uploads
''''''''''''''''''''''''''''''''

Now, you configure *fairly* to you your token.
Now, you will configure *fairly* to use your token.

Windows
""""""""""""
Expand Down
2 changes: 2 additions & 0 deletions docs/tutorials/python-api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"# Using the Python API\n",
"\n",
"In this tutorial you will learn how to use *fairly* as a Python package to create, upload, and clone datasets from research data repositories.\n",
"\n",
"> Under construction...\n",
"\n"
]
}
Expand Down

0 comments on commit ef30ccb

Please sign in to comment.