Skip to content

Commit

Permalink
remove trailing spaces in all guides
Browse files Browse the repository at this point in the history
  • Loading branch information
luto committed Mar 31, 2021
1 parent 672bcec commit 6370d4a
Show file tree
Hide file tree
Showing 25 changed files with 71 additions and 71 deletions.
2 changes: 1 addition & 1 deletion source/guide_baikal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Remove your ``html`` directory and download the current version of Baïkal from
[isabell@stardust isabell]$ ln -s baikal/html html
[isabell@stardust isabell]$
You can also choose not to replace your ``html`` directory (and e.g. install Baïkal in a subdirectory or under a subdomain). In that case, you need to perform additional configuration steps.
You can also choose not to replace your ``html`` directory (and e.g. install Baïkal in a subdirectory or under a subdomain). In that case, you need to perform additional configuration steps.

Configuration
=============
Expand Down
4 changes: 2 additions & 2 deletions source/guide_beehive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Install ``Beehive``:
[isabell@stardust beehive]$ wget https://github.com/muesli/beehive/releases/download/v0.4.0/beehive_0.4.0_Linux_x86_64.tar.gz
[isabell@stardust beehive]$ tar -xzvf beehive_0.4.0_Linux_x86_64.tar.gz
[isabell@stardust beehive]$ rm beehive_0.4.0_Linux_x86_64.tar.gz
Configuration
=============
Expand All @@ -76,7 +76,7 @@ Create ``~/etc/services.d/beehive.ini`` with the following content:
Finishing installation
======================

.. warning:: Since beehive does not support any kind of authentication, you need to access it through an SSH tunnel using `SSH port forwarding`_.
.. warning:: Since beehive does not support any kind of authentication, you need to access it through an SSH tunnel using `SSH port forwarding`_.

To finish the installation, go to ``http://localhost:8181``.

Expand Down
2 changes: 1 addition & 1 deletion source/guide_cryptpad.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Now let's start the service:

.. include:: includes/supervisord.rst


Configure web server
--------------------

Expand Down
8 changes: 4 additions & 4 deletions source/guide_easyappointments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Installation
``cd`` into your :manual:`document root <web-documentroot>`, download the latest build, unzip and remove the zip file:

.. code-block:: console
[isabell@stardust ~]$ cd /var/www/virtual/$USER/html/
[isabell@stardust html]$ wget https://github.com/alextselegidis/easyappointments/releases/download/1.3.2/easyappointments_1.3.2.zip
[isabell@stardust html]$ unzip easyappointments_1.3.2.zip
Expand Down Expand Up @@ -112,7 +112,7 @@ Tuning
Translations
------------

Easy Appointments' inbuilt language translations are not always perfect and you might want to change some wordings to better fit your needs. You can remove unneeded translations by removing them from the array in ``/var/www/virtual/$USER/html/application/config/config.php``, for instance:
Easy Appointments' inbuilt language translations are not always perfect and you might want to change some wordings to better fit your needs. You can remove unneeded translations by removing them from the array in ``/var/www/virtual/$USER/html/application/config/config.php``, for instance:

.. code-block:: ini
:emphasize-lines: 12,13,14
Expand All @@ -133,11 +133,11 @@ Easy Appointments' inbuilt language translations are not always perfect and you
'german'
];
You can also add a new translation by copying and renaming a translation-folder in ``/var/www/virtual/$USER/html/application/language/`` and adding its name to the array above.
You can also add a new translation by copying and renaming a translation-folder in ``/var/www/virtual/$USER/html/application/language/`` and adding its name to the array above.

You can modify an existing translation by editing the ``translation_lang.php`` file in the desired language folder. For english this would be ``/var/www/virtual/$USER/html/application/language/english/translation_lang.php``

.. note:: The `official documentation`_ contains additional information on translation and other topics.
.. note:: The `official documentation`_ contains additional information on translation and other topics.

Updates
=======
Expand Down
2 changes: 1 addition & 1 deletion source/guide_ghost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Create a ``ghost`` directory in your home, ``cd`` to it and then run the install

You will need to enter the following information:

* `y` or `yes` to just continue after the reputed MySQL error (everything is fine here, ghost does just look at the wrong places)
* `y` or `yes` to just continue after the reputed MySQL error (everything is fine here, ghost does just look at the wrong places)
* your blog URL: The URL for your blog. Since we don't allow HTTP, use HTTPS. For example: https://isabell.uber.space
* your MySQL hostname, username and password: the hostname is ``localhost`` and you should know your MySQL :manual_anchor:`credentials <database-mysql.html#login-credentials>` by now. If you don't, start reading again at the top.
* your Ghost database name: we suggest you use a :manual_anchor:`additional <database-mysql.html#additional-databases>` database. For example: isabell_ghost
Expand Down
2 changes: 1 addition & 1 deletion source/guide_gitlab-runner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ If it’s not in state RUNNING, check your configuration.

Updates
=======
To update the GitLab Runner the service needs to be stopped. Then you should backup your old executable. Afterwards its common to the installation:
To update the GitLab Runner the service needs to be stopped. Then you should backup your old executable. Afterwards its common to the installation:
You download the current release and make it executable. Afterwards see if it prints the current version and then (re)start your service.

::
Expand Down
2 changes: 1 addition & 1 deletion source/guide_guillotine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.. tag:: lang-ruby
.. tag:: web
.. tag:: shortlinks
.. tag:: shortlinks

##########
Guillotine
Expand Down
6 changes: 3 additions & 3 deletions source/guide_homeassistant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ Just run the following command in the created `homeassistant` directory with act
.. code-block:: console
[isabell@stardust homeassistant]$ hass
[isabell@stardust homeassistant]$
[isabell@stardust homeassistant]$
A directory containing config files is created at /home/isabell/.homeassistant.
A directory containing config files is created at /home/isabell/.homeassistant.
So you can terminate the homeassistant using Strg-C.


Expand Down Expand Up @@ -122,7 +122,7 @@ Setup a web backend
Home Assistant is running on port 8123.

.. include:: includes/web-backend.rst

Create a supervisord service entry
-------------------

Expand Down
4 changes: 2 additions & 2 deletions source/guide_icecast2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,13 @@ After having changed the ``icecast.xml`` you need to restart the service.
Best practices
==============

Source streaming can be done locally by oggfwd_ in combination with ffmpeg_ to encode to `Ogg Vorbis`_ format.
Source streaming can be done locally by oggfwd_ in combination with ffmpeg_ to encode to `Ogg Vorbis`_ format.

.. code-block:: console
[isabell@localhost ~]$ ffmpeg -i $yourinputfile -vn -acodec libvorbis -b:a 128k -f ogg -y /dev/stdout |
oggfwd isabell.uber.space $yourlisteningport y0uRS3cR3t_1! /stream.ogg
A more detailed setup for live streaming concerts with JACK audio server can be found at: https://wikis.ven.pm/streaming_setup

Updates
Expand Down
8 changes: 4 additions & 4 deletions source/guide_isso.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Isso

Isso_ is a simple, self-hosted commenting server which can easily be included inside blogging platforms such as :lab:`Ghost <guide_ghost>` or :lab:`Wordpress <guide_wordpress>`.

Users can format comments by using Markdown. Isso has spam protection and an admin panel to administrate comments.
Users can format comments by using Markdown. Isso has spam protection and an admin panel to administrate comments.

The Isso Server is written in Python and the client side is realized by a small javascript. Comments are stored inside a sqlite database.

Expand Down Expand Up @@ -73,7 +73,7 @@ Install Isso and create a folder for the database and config file:
Successfully installed Jinja2-2.11.1 MarkupSafe-1.1.1 bleach-3.1.4 cffi-1.14.0 html5lib-1.0.1 isso-0.12.2 itsdangerous-1.1.0 misaka-2.1.1 pycparser-2.20 six-1.14.0 webencodings-0.5.1 werkzeug-1.0.1

[isabell@stardust ~]$ mkdir ~/isso
[isabell@stardust ~]$
[isabell@stardust ~]$

Configuration
=============
Expand Down Expand Up @@ -147,7 +147,7 @@ Configure web server
.. note::

Isso is running on port 1234, as defined in ``~/isso/user.cfg``. Be aware that the comment domain has to be a subdomain of the main domain (read about CORS_ for more information). Replace ``comments.isabell.uber.space`` with your own subdomain for isso that you configured in the first step.

::

[isabell@stardust ~]$ uberspace web backend set comments.isabell.uber.space --http --port <port>
Expand All @@ -158,7 +158,7 @@ Configure web server
Finishing installation
======================

Now you can include Isso to your website by following the client-manual_.
Now you can include Isso to your website by following the client-manual_.
If you enabled the admin functionality inside the configuration you can access the admin panel by adding the path ``/admin``.


Expand Down
8 changes: 4 additions & 4 deletions source/guide_libreoffice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Then, install the latest stable version of `udocker`_:
Info: searching for udockertools 1.1.4
Info: installing udockertools 1.1.4
Info: installation of udockertools successful
[isabell@stardust ~]$
[isabell@stardust ~]$

This installs the binaries and libraries needed by udocker into ``$HOME/.udocker/``.

Expand Down Expand Up @@ -126,15 +126,15 @@ Assume you chose `collabora/code`_. Pull the image from dockerhub and create
a container:

::

[isabell@stardust ~]$ udocker pull collabora/code
Downloading layer: sha256:7595c8c21622ea8a8b9778972e26dbbe063f7a1c4b0a28a80a34ebb3d343b586
Downloading layer: sha256:d13af8ca898f36af68711cb67c345f65046a78ccd802453f4b129adf9205b1f8
[...]
Downloading layer: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
[isabell@stardust ~]$ udocker create --name=collabora-code collabora/code
dbe828ab-d8a7-3a09-bf41-5deea8ec162c
[isabell@stardust ~]$
[isabell@stardust ~]$

.. note::

Expand Down Expand Up @@ -335,7 +335,7 @@ Updates

Check the `CODE feed`_ regularly to stay informed about the newest version of CODE.
Unfortunately, there is no automatic way to get informed about docker image updates.

To update, for example to CODE version 6.5, run the following:

::
Expand Down
2 changes: 1 addition & 1 deletion source/guide_mailman-3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Create needed folders and files for uwsgi:
::

[isabell@stardust ~]$ mkdir -p ~/uwsgi/apps-enabled
[isabell@stardust ~]$ touch ~/uwsgi/err.log
[isabell@stardust ~]$ touch ~/uwsgi/err.log
[isabell@stardust ~]$ touch ~/uwsgi/out.log
[isabell@stardust ~]$

Expand Down
2 changes: 1 addition & 1 deletion source/guide_mosquitto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The last two values ensure that only registered users are allowed.

::

cafile /etc/ssl/certs/ca-bundle.crt
cafile /etc/ssl/certs/ca-bundle.crt
certfile /home/isabell/etc/certificates/isabell.uber.space.crt
keyfile /home/isabell/etc/certificates/isabell.uber.space.key
port 40132
Expand Down
12 changes: 6 additions & 6 deletions source/guide_postgresql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ PostgreSQL Configuration
------------------------

Edit ``~/opt/postgresql/data/postgresql.conf`` and set the key values ``listen_adresses``, ``port`` and ``unix_socket_directories``.
Consider using only unix sockets if possible.
Consider using only unix sockets if possible.

.. warning:: Please replace ``<username>`` with your username!

Expand Down Expand Up @@ -325,7 +325,7 @@ A simple check will show the used capacity of your PostgreSQL instance.

[isabell@stardust ~]$ du -sh ~/opt/postgresql/data
1,0G /home/isabell/opt/postgresql/data
[isabell@stardust ~]$
[isabell@stardust ~]$

More details about your Uberspace space in total shows the command ``quota``:

Expand All @@ -335,7 +335,7 @@ More details about your Uberspace space in total shows the command ``quota``:
Disk quotas for group isabell (gid 1013):
Filesystem space quota limit grace files quota limit grace
/dev/sda2 713M 10240M 11264M 38 0 0
[isabell@stardust ~]$
[isabell@stardust ~]$

Further tools and details are described in the Uberspace manual and section :manual_anchor:`storge <basics-resources#storage>`.

Expand All @@ -355,7 +355,7 @@ A PostgreSQL update is in most cases necessary in relation of another software u
- 13
[isabell@stardust ~]$

Step 3 - Stop all Daemons with relation to PosgreSQL
Step 3 - Stop all Daemons with relation to PosgreSQL
----------------------------------------------------

Check running daemons:
Expand Down Expand Up @@ -451,7 +451,7 @@ Create the new database cluster:
::

[isabell@stardust ~]$ initdb --pwfile ~/pgpass.temp --auth=scram-sha-256 -E UTF8 -D ~/opt/postgresql/data/

The files belonging to this database system will be owned by user "<username>".
This user must also own the server process.

Expand Down Expand Up @@ -528,7 +528,7 @@ Check the cluster, if all databases are available:

[isabell@stardust ~]$ psql -l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+--------+----------+-------------+-------------+-------------------
my-program| user | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
postgres | isabell| UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
Expand Down
2 changes: 1 addition & 1 deletion source/guide_privatebin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ If not already there, go to the ``html`` directory before running ``mv``.
Changing index.php
------------------

Now edit ``~/html/index.php`` to inform PrivateBin about to the new location of the folders.
Now edit ``~/html/index.php`` to inform PrivateBin about to the new location of the folders.

.. code-block:: php
Expand Down
2 changes: 1 addition & 1 deletion source/guide_prosody.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Create your first user:
Enter new password:
Retype new password:
[isabell@stardust ~]$
Voice/Video calls
=================

Expand Down
2 changes: 1 addition & 1 deletion source/guide_rocketchat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Create ``~/etc/services.d/rocket.chat.ini`` with the following content:
ROOT_URL="https://%(ENV_USER)s.uber.space/",
PORT=3000,
TMPDIR="%(ENV_HOME)s/tmp"
startsecs=90
startsecs=90
autostart=yes
autorestart=yes
Expand Down
6 changes: 3 additions & 3 deletions source/guide_shaarli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ Enter your document root, download the `latest <https://github.com/shaarli/Shaar
[isabell@stardust ~]$ cd ~/html
[isabell@stardust html]$ wget https://github.com/shaarli/Shaarli/releases/download/v0.12.1/shaarli-v0.12.1-full.tar.gz
[isabell@stardust html]$ tar xvzf shaarli-v0.12.1-full.tar.gz --strip-components=1
[isabell@stardust html]$
[isabell@stardust html]$
Finishing installation
======================

Once all files have been placed at the correct location, go to ``https://isabell.uber.space``.
Once all files have been placed at the correct location, go to ``https://isabell.uber.space``.
Enter a username and a secure password, choose your preferred language and timezone, then click on "Install".

Updates
Expand All @@ -86,7 +86,7 @@ version is available, enter your document root, download the archive, unpack it
[isabell@stardust html]$ wget https://github.com/shaarli/Shaarli/releases/download/v0.X.Y/shaarli-v0.X.Y-full.tar.gz
[isabell@stardust html]$ tar xvzf shaarli-v0.X.Y-full.tar.gz --strip-components=1
[isabell@stardust html]$ cp -r ~/shaarli-data-backup/* /var/www/virtual/isabell/html/data/
[isabell@stardust html]$
[isabell@stardust html]$
.. _Shaarli: https://github.com/shaarli/Shaarli#readme
.. _Documentation: https://shaarli.readthedocs.io/en/master/
Expand Down
8 changes: 4 additions & 4 deletions source/guide_synapse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ We will install synapse using pip, which makes it quite easy:
[isabell@stardust ~]$ pip3.6 install --user setuptools_rust
[isabell@stardust ~]$ python3 -m pip install --upgrade --user pip
[isabell@stardust ~]$
[isabell@stardust ~]$
Configuration
=============
Expand Down Expand Up @@ -199,13 +199,13 @@ Setup a dedicated postgres user and database for synapse:
--template=template0 \
synapse
[isabell@stardust ~]$
You can verify access with:

.. code-block:: console
[isabell@stardust ~]$ psql synapse synapse
Modify the config file again to give synapse access to the database:

Expand All @@ -223,7 +223,7 @@ Modify the config file again to give synapse access to the database:
host: "/home/isabell/tmp"
cp_min: 5
cp_max: 10
Comment out the active sqlite database. If you are using a different port for postgres, add a port property below host.

Option B: Sqlite
Expand Down
Loading

0 comments on commit 6370d4a

Please sign in to comment.