This repository has been archived by the owner on May 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Software.page
46 lines (27 loc) · 1.54 KB
/
Software.page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
format: markdown
title: Software
...
# Servers
Everything is running on a VM on `sybil.synyx.coffee`.
## Sybil / Tomcat
Sybil is running as the ROOT app in a tomcat located at `/home/sybil/tomcat` from a war file located at `/home/sybil/sybil/webapps/sybil-0.1.war`.
It can be managed from the [Tomcat Manager](http://api.sybil.synyx.coffee/manager/html).
It is reachable at [`http://api.sybil.synyx.coffee/`]().
## Wiki
This wiki is a gitit wiki running from within a screen called `gitit`, its files are located at `/home/sybil/doc`.
There the actual wiki data is in a git-managed directory called `sybil-wiki` and the wiki configuration is in a file called `wiki.conf`.
To run the wiki (preferrably as a service or inside a screen), run `./runwiki.sh`.
### Restarting the Wiki
If you change the wiki's config file (`/home/sybil/doc/wiki.conf`) or template files (anything in `/home/sybil/doc/templates/`) you will have to restart the wiki.
To do that, enter the gitit screen (`screen -r gitit`), press Ctrl+C to kill the server and then run `./runwiki.sh` to start the server.
It is reachable at [`http://doc.sybil.synyx.coffee/`]().
## Static website
The static website has its files at `/home/sybil/public_html`.
It is reachable at [`http://sybil.synyx.coffee/`]().
## OpenHAB
OpenHAB runs in a screen named `openhab`.
It should reload changed configurations automatically.
To restart, enter the screen session (`screen -r openhab`), press Ctrl+C and when it's finished shutting down run `./start.sh`.
# Internal workings
See the [README]().