Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
setting proper title sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin.kozlov committed Feb 7, 2020
1 parent f0818e9 commit 90c909f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions source/user/howto/rclone.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.. include:: <isonum.txt>
.. highlight:: console


******************
How to use rclone
=================
******************


Installation of rclone in Docker image (pro)
--------------------------------------------
Installation of rclone in Docker image
======================================

All applications in the `DEEP Open Catalog <https://deephdc.github.io/>`_ are packed in a Docker image and have
`rclone <https://rclone.org/>`_ tool installed by default. If you want to create a Docker containing your own application, you should install rclone
Expand All @@ -31,7 +31,7 @@ the `rclone official site <https://rclone.org/downloads/>`_ ::
the Dockerfile already includes installation of rclone.

Nextcloud configuration for rclone
----------------------------------
==================================

.. image:: ../../_static/nc-access.png

Expand All @@ -42,7 +42,7 @@ config file (``rclone.conf``) to run locally or as ``rclone_user`` and ``rclone_


Creating rclone.conf for your local host
----------------------------------------
========================================

You can install rclone at your host or run Docker image with rclone installed (see installation steps of rclone above).
In order to create the configuration file (``rclone.conf``) for rclone::
Expand Down Expand Up @@ -85,10 +85,10 @@ One has, however, to call rclone with ``--config`` option to point to the ``rclo


Example code on usage of rclone from python
--------------------------------------------
===========================================

Simple example
==============
--------------

A simple call of rclone from python is via ``subprocess.Popen()``

Expand All @@ -107,7 +107,7 @@ A simple call of rclone from python is via ``subprocess.Popen()``
If you use our `general template <https://github.com/indigo-dc/tosca-templates/blob/master/deep-oc/deep-oc-marathon-webdav.yml>`_ , the name of the remote storage has to be ``rshare`` as in the example above (``rshare:/Datasets/dogs_breed/data``). If you create your own TOSCA template, you need to pay attention on matching these names in your code and in the template (for example, see environment parameters in the `general template <https://github.com/indigo-dc/tosca-templates/blob/master/deep-oc/deep-oc-marathon-webdav.yml>`_ like RCLONE_CONFIG_RSHARE_USER etc).

Advanced examples
=================
-----------------

More advanced usage includes calling rclone with various options (ls, copy, check) in order to check file existence at
Source, check if after copying two versions match exactly.
Expand Down
3 changes: 2 additions & 1 deletion source/user/overview/architecture.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
**********************
Architecture overview
=====================
**********************

There are several different components in the DEEP-HybridDataCloud project that are relevant for the users. Later on you will see
how each :doc:`different type of user <user-roles>` can take advantage of the different components.
Expand Down

0 comments on commit 90c909f

Please sign in to comment.