diff options
-rw-r--r-- | docs/dev/environment.rst | 4 | ||||
-rw-r--r-- | docs/testers/howto.rst | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/docs/dev/environment.rst b/docs/dev/environment.rst index 3c2b0291..33310b91 100644 --- a/docs/dev/environment.rst +++ b/docs/dev/environment.rst @@ -81,7 +81,7 @@ A second option if that does not work for you would be to install PyQt globally $ apt-get install python-qt4 $ virtualenv --site-packages . -Or, if you prefer, you can also `download the official PyQt tarball<http://www.riverbankcomputing.com/software/pyqt/download>`_ and execute ``configure.py`` in the root folder of their distribution, which generates a ``Makefile``:: +Or, if you prefer, you can also `download the official PyQt tarball <http://www.riverbankcomputing.com/software/pyqt/download>`_ and execute ``configure.py`` in the root folder of their distribution, which generates a ``Makefile``:: $ python configure.py $ make && make install @@ -90,7 +90,7 @@ Or, if you prefer, you can also `download the official PyQt tarball<http://www.r this section could be completed with useful options that can be passed to the virtualenv command (e.g., to make portable paths, site-packages, ...). -.. _files: +.. _copyscriptfiles: Copy script files ----------------- diff --git a/docs/testers/howto.rst b/docs/testers/howto.rst index 31e12419..9b55154f 100644 --- a/docs/testers/howto.rst +++ b/docs/testers/howto.rst @@ -58,13 +58,17 @@ from the directory where you *sourced* the bootstrap script. Refer to :ref:`Working with virtualenv <virtualenv>` to learn more about virtualenv. -Policy files -^^^^^^^^^^^^ +Copying config files +^^^^^^^^^^^^^^^^^^^^ + +If you have never installed the ``leap-client`` globally, **you need to copy some files to its proper path before running it for the first time** (you only need to do this once). This, unless the virtualenv-based operations, will need root permissions. See :ref:`copy script files <copyscriptfiles>` and :ref:`running openvpn without root privileges <policykit>` sections for more info on this. In short:: -If you have never installed the ``leap-client`` globally, **you need to copy a policykit file to its proper path before running it for the first time** (you only need to do this once). This, unless the virtualenv-based operations, will need root permissions. See :ref:`running openvpn without root privileges <policykit>` section for more info on this. + $ sudo cp pkg/linux/polkit/net.openvpn.gui.leap.policy /usr/share/polkit-1/actions/ + $ sudo mkdir -p /etc/leap + $ sudo cp pkg/linux/resolv-update /etc/leap -Config files -^^^^^^^^^^^^ +Local config files +^^^^^^^^^^^^^^^^^^^ If you want to start fresh without config files, just move them. In linux:: |