Files
sailing-analytics/wiki/howto.md
T
2015-12-14 16:39:49 +00:00

2.8 KiB

How to work with this Wiki

General Information

This Wiki is being stored into a GIT repository on branch master that is tracking remote branch master of origin at /home/trac/git. The physical location is /home/wiki/gitwiki. The changes here are pushed to origin on a more or less regular base (every week) by one of the admins.

The script /home/wiki/serve.sh can be executed to either start or restart the process being responsible for this wiki. The process is a Ruby webserver (Rack) that uses the handler defined in /home/wiki/app.rb. This handler embeds Gollum wiki software into Rack and also makes sure that only authenticated access is possible (see /home/wiki/users.yml).

Making websites public

Accessing this wiki is normally only allowed for authenticated users. If you want to share your work with others not having an account here then you can just request making a given url publicly available. On the server this is done by simply putting a new line to /home/wiki/public.txt.

Creating a New Account

Send a request to Axel Uhl or Simon Marcel Pamies that includes the SHA1 hash of your desired password. Obtain such an SHA1 hash for your password here: http://www.sha1-online.com/.

A Wiki administrator can add a new account by adding a new entry to /home/wiki/users.yml. The password there is encrypted using sha1sum (echo -n "password" | sha1sum) or, for those who don't happen to have sha1sum available, using an online SHA1 generator such as this one.

Editing

You can edit information here freely but do not leave any nonsense here.

The syntax of the markup is relatively easy and is documented here http://daringfireball.net/projects/markdown/dingus. When you create a new Page then make sure to put some thinking into the right tree structure and then just extend the URL above. It is also possible to use plain HTML for tables or image refs but use with care. If there is a markdown command then it is always to be preferred.

  • Make sure to always have wiki/ as the base path so that contents is not cluttered around. So if you want to create server/SystemBoot then the correct URL is wiki/server/SystemBoot. Make sure to add your Page to the Table of Contents of [/home] by editing the document there. The contents of java/ is protected so that one can neither write nor read.

  • Password can be found in the encrypted page Passwords. You can decrypt it by using gpg -d < passwords.md after having entered the password. If you want to edit, first decrypt and then encrypt again using gpg -a --symmetric passwords.md. Make sure to never save the unencrypted version! The encryption is a symmetric one (not key based) based on a password that is known to the admins.

If you have any questions then either contact Axel Uhl, Jens Rommel, Frank Mittag or Simon Pamiés.