Skip to content

Commit

Permalink
Fix lint errors, trim trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
toddy15 authored and nichtmax committed Jan 27, 2022
1 parent 645a152 commit e2ab108
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions source/guide_conduit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Conduit manages it's own database files. Create a directory for it:
::

[isabell@stardust ~]$ mkdir -p ~/conduit_data/
[isabell@stardust ~]$
[isabell@stardust ~]$

Create ``~/conduit.toml`` with the following content:

Expand Down Expand Up @@ -157,7 +157,7 @@ Create the directory ``~/html/.well-known/matrix/``:
::

[isabell@stardust ~]$ mkdir -p ~/conduit_data/
[isabell@stardust ~]$
[isabell@stardust ~]$

Then create ``~/html/.well-known/matrix/server`` with the following content.
Remember to replace <username> with your actual user name:
Expand Down
2 changes: 1 addition & 1 deletion source/guide_embetty.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Use ``npm`` to install the latest version of Embetty server:
[...]
added 182 packages
[isabell@stardust ~]$



Configuration
Expand Down
2 changes: 1 addition & 1 deletion source/guide_grav.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Your website domain needs to be set up:
Installation
============

To install Grav we use Composer_ to create a new project in our :manual:`document root <web-documentroot>`.
To install Grav we use Composer_ to create a new project in our :manual:`document root <web-documentroot>`.

.. code-block:: console
:emphasize-lines: 1,2
Expand Down
4 changes: 2 additions & 2 deletions source/guide_mailman-3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ After the REST backend has been configured, we need to configure the Django fron
('text/x-scss', '/home/isabell/bin/dart-sass/sass {infile} {outfile}'),
('text/x-sass', '/home/isabell/bin/dart-sass/sass {infile} {outfile}'),
)
[...]
Q_CLUSTER = {
'timeout': 100,
'retry': 200,
Expand Down
2 changes: 1 addition & 1 deletion source/guide_rocketchat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Generate a keyfile

[isabell@stardust ~]$ openssl rand -base64 756 > ~/mongodb/security.key
[isabell@stardust ~]$ chmod 400 ~/mongodb/security.key
[isabell@stardust ~]$
[isabell@stardust ~]$


Update the daemon configuration file ``~/etc/services.d/mongodb.ini``, add the options `` --keyFile %(ENV_HOME)s/mongodb/security.key`` and ``--replSet rs01``:
Expand Down
6 changes: 3 additions & 3 deletions source/guide_seafile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Run the seafile installer script.

::

[isabell@stardust seafile]$ cd ~/seafile/seafile-server-*
[isabell@stardust seafile]$ cd ~/seafile/seafile-server-*
[isabell@stardust seafile-server-8.0.7]$ ./setup-seafile-mysql.sh

Important answers:
Expand Down Expand Up @@ -157,7 +157,7 @@ Change gunicorn config; Edit ``~/seafile/conf/gunicorn.conf.py`` and change the
.. code-block:: console
bind = "0.0.0.0:8000"
Change seahub config; Edit ``~/seafile/conf/seahub_settings.py`` and add the following lines:

.. warning:: Replace ``isabell`` with your username!
Expand Down Expand Up @@ -228,7 +228,7 @@ Updating seafile is pretty easy. First update the pip3 packages, then download t
[isabell@stardust seafile]$ curl https://download.seadrive.org/seafile-server_8.0.7_x86-64.tar.gz | tar xzf -
[isabell@stardust seafile]$ ln -sfn /home/seafile/seafile/seafile-server-8.0.7 /home/seafile/seafile/seafile-server-latest
[isabell@stardust seafile]$ cd seafile-server-latest
[isabell@stardust seafile-server-latest]$ ./seafile.sh restart
[isabell@stardust seafile-server-latest]$ ./seafile.sh restart
[isabell@stardust seafile-server-latest]$ ./seahub.sh restart

----
Expand Down
4 changes: 2 additions & 2 deletions source/guide_the-lounge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ Since we do not run a public server we have to add users before we can use The L
:emphasize-lines: 2, 3
[isabell@stardust ~]$ thelounge add isabell
2021-10-21 11:46:33 [PROMPT] Enter password:
2021-10-21 11:46:39 [PROMPT] Save logs to disk? (yes)
2021-10-21 11:46:33 [PROMPT] Enter password:
2021-10-21 11:46:39 [PROMPT] Save logs to disk? (yes)
2021-10-21 11:46:41 [INFO] User isabell created.
2021-10-21 11:46:41 [INFO] User file located at /home/isabell/.lounge/users/isabel.json.
[isabell@stardust ~]$
Expand Down
20 changes: 10 additions & 10 deletions source/guide_uu-notify.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@ Clone the `GitHub repository <https://github.com/franok/uu-notify>`_, checkout t
[isabell@stardust uu-notify]$ ./setup.sh
--- uuNotify setup ---
Existing files in config/ will not be overwritten.
Running 'npm clean-install' ...
[...]
Done.
Copy configuration files...
Creating config.json from config.json.template ...
Done.
Creating software-deps.mjs from software-deps.mjs.example ...
Done.
--- COMPLETED uuNotify setup ---
[isabell@stardust uu-notify]$
Expand All @@ -117,7 +117,7 @@ In the uuNotify directory, navigate into the ``config/`` folder:
.. code-block:: console
[isabell@stardust uu-notify]$ cd config/
[isabell@stardust config]$
[isabell@stardust config]$
Edit the file ``config.json``.

Expand All @@ -134,7 +134,7 @@ Add your Gotify server url and the app token from the previous step. Example:
}
.. note:: The gotify server URL must end **without** trailing forward slash ``/``

| Good example: ``https://isabell.uber.space/gotify``
| Bad example: ``https://isabell.uber.space/gotify/``
Expand Down Expand Up @@ -210,12 +210,12 @@ After that, register uuNotify in your :manual:`crontab <daemons-cron>`.
Copy and paste the following lines into your crontab, by appending them to the end of the existing entries:

.. code-block:: bash
#MAILTO=""
0 18 * * SUN /usr/bin/node /home/isabell/uu-notify/index.mjs
This crontab configuration will run uuNotify every Sunday at 18:00.
If there are any software updates, you'll receive a notification.
If there are any software updates, you'll receive a notification.

If you want uuNotify to check for updates more often, you can adjust the time and frequency to your needs. I suggest you to double check your cron schedule expression with `crontab guru <https://crontab.guru/>`_.

Expand Down Expand Up @@ -248,7 +248,7 @@ The :ref:`Gotify app you created <id-gotify-application>` will show up in your :
#. Using the app id (in this case 42) run the next command:

.. code-block:: console
[user@localhost ~]$ curl --header "X-Gotify-Key:<gotify-client-token>" -k -X POST -F 'file=@/home/<localuser>/path/to/image/uu-notify-icon.png' https://<gotify-url>/application/42/image
{"id":42,"token":"********","name":"uuNotify","description":"uuNotify","internal":false,"image":"image/RTHDR0253KDdQyw_FUBOEDom4.png"}
[user@localhost ~]$
Expand Down Expand Up @@ -284,11 +284,11 @@ You can update uuNotify to the latest_ version as follows:
Running 'npm clean-install' ...
[...]
Done.
Copy configuration files...
config.json already exists. Skipping...
software-deps.mjs already exists. Skipping...
--- COMPLETED uuNotify setup ---
[isabell@stardust uu-notify]$
Expand Down

0 comments on commit e2ab108

Please sign in to comment.