Browse Source

Minor README reformats

M. Sonntag 2 years ago
parent
commit
ae94dc0e0d
1 changed files with 24 additions and 20 deletions
  1. 24 20
      README.md

+ 24 - 20
README.md

@@ -256,10 +256,11 @@ You can use the `gnode/gin-web:latest` docker container to run the in-house GIN;
 - check that the page is running at your specified domain
 
 - stop all docker containers
-    ```bash
-    cd $DIR_GINROOT/gin-dockerfile
-    docker-compose down
-    ```
+  ```bash
+  cd $DIR_GINROOT/gin-dockerfile
+  docker-compose down
+  ```
+
 
 - replace `config/gogs/conf/app.ini` with the file found in `resources/app.ini`; when in doubt keep the old file and compare entries.
   - adjust all settings to fit your server requirements - the example `app.ini` should fit most settings and directories used so far.
@@ -280,16 +281,17 @@ You can use the `gnode/gin-web:latest` docker container to run the in-house GIN;
     needs to be restarted before the changes take effect.
 
 - adjust file permissions for all added and modified files on the server
-    ```bash
-    chown -R ginuser:ginservice $DIR_GINCONFIG
-    ```
+  ```bash
+  chown -R ginuser:ginservice $DIR_GINCONFIG
+  ```
+
 
 - stop any running container and restart the full service
-    ```bash
-    docker-compose down
-    docker-compose up -d
-    docker-compose logs -f
-    ```
+  ```bash
+  docker-compose down
+  docker-compose up -d
+  docker-compose logs -f
+  ```
 
 NOTE: when working with the GIN server (gin.g-node.org) in parallel with a local or in-house version of GIN it can happen, 
 that the services have set up different CSRF tokens. This results in the message `Invalid csrf token.` when submitting 
@@ -302,20 +304,22 @@ Apart from changing the main page, as well as header and footer content as descr
 via the Wiki of a specific GIN repository wiki: `Service/Info`. By default the service links and expects the following
 pages in this particular wiki: `Help`, `News`, `about`, `imprint`, `contact`, `terms of use` and `Datenschutz`.
 
-To create and edit these on your GIN instance 
+To create and edit these on your GIN instance
+
 - log in with an administrative user
 - create a `Service` organisation
 - create a `Service/Info` repository
 - set this repo to public
 - open this repos' wiki page and initialise the wiki by creating a "home.md" page.
 - all files required by default can be added via the wiki of this repository at the address "http://[domain]/Service/Info/wiki"
-  - "Help" refers to the page "http://[domain]/Service/Info/wiki/Home.md"
-  - "News" refers to the page "http://[domain]/Service/Info/wiki/News.md"
-  - "About" refers to the page "http://[domain]/Service/Info/wiki/about.md"
-  - "Imprint" refers to the page "http://[domain]/Service/Info/wiki/imprint.md"
-  - "Contact" refers to the page "http://[domain]/Service/Info/wiki/contact.md"
-  - "Terms of use" refers to the page "http://[domain]/Service/Info/wiki/Terms of use.md"
-  - "Datenschutz" refers to the page "http://[domain]/Service/Info/wiki/Datenschutz.md"
+
+    - "Help" refers to the page "http://[domain]/Service/Info/wiki/Home.md"
+    - "News" refers to the page "http://[domain]/Service/Info/wiki/News.md"
+    - "About" refers to the page "http://[domain]/Service/Info/wiki/about.md"
+    - "Imprint" refers to the page "http://[domain]/Service/Info/wiki/imprint.md"
+    - "Contact" refers to the page "http://[domain]/Service/Info/wiki/contact.md"
+    - "Terms of use" refers to the page "http://[domain]/Service/Info/wiki/Terms of use.md"
+    - "Datenschutz" refers to the page "http://[domain]/Service/Info/wiki/Datenschutz.md"
 
 - alternatively to adding these pages via the web interface, you can add an ssh public key to your user and git clone 
   the wiki repository after it has been initialized: