summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-03-23 18:01:33 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-03-23 18:01:33 (GMT)
commitef99a657ec87ae100f3a4c2a2ac9e594cebc051a (patch)
tree3ecf04c6ec3c08a53a775a62691f75240b1c7063 /README
inital commit
Diffstat (limited to 'README')
-rw-r--r--README63
1 files changed, 63 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..3b7d504
--- /dev/null
+++ b/README
@@ -0,0 +1,63 @@
+LICENSE
+=======
+
+#
+# rhrdweb
+#
+# Copyright (C) 2016 Christian Pointner <equinox@helsinki.at>
+#
+# This file is part of rhrdweb.
+#
+# rhrdweb is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# any later version.
+#
+# rhrdweb is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with rhrdweb. If not, see <http://www.gnu.org/licenses/>.
+#
+
+Installation
+============
+
+# sudo aptitude install apache2 libapache2-mpm-itk libapache2-mod-perl2 libjson-any-perl librhrd-perl libjs-jquery
+# sudo a2enmod ssl perl
+# sudo /etc/init.d/apache2 restart
+
+add the following to the virtualhost config:
+
+~~~snip~~~
+ AssignUserID rduser rivendell
+
+ Include /etc/apache2/conf-available/javascript-common.conf
+
+ Alias /rh-bin/ /var/www/rhrdweb/rh-bin/
+ <Directory /var/www/rhrdweb/rh-bin/>
+ SetHandler perl-script
+ PerlResponseHandler ModPerl::Registry
+ PerlOptions +ParseHeaders
+ Options +ExecCGI
+
+ Require all granted
+ </Directory>
+
+ ProxyPass "/ntp" "ws://localhost:3000/ntp"
+
+ DocumentRoot /var/www/rhrdweb/www/
+ <Directory /var/www/rhrdweb/>
+ Options -Indexes -FollowSymLinks
+ AllowOverride None
+
+ Require all denied
+ </Directory>
+ <Directory /var/www/rhrdweb/www>
+ Require all granted
+ </Directory>
+ AliasMatch "^/(js|img|styles)(.*)" "/var/www/rhrdweb/www/$1$2"
+ AliasMatch "^(.*)" "/var/www/rhrdweb/www/index.html"
+~~~/snip~~~