GNU AGPL v3 or higher (see file License)
config.rb
(see config_sample.rb
for help)
to start with a default configuration.You need .mo
files in order to use localisation.
You have 2 possibilities:
Run this small script to fetch the files from the main server:
cd $DUDLE_INSTALLATION_PATH
for i in locale/??; do
wget -O $i/dudle.mo https://dudle.inf.tu-dresden.de/locale/`basename $i`/dudle.mo
done
Build them on your own. This requires gettext, ruby-gettext, potool, and make to be installed.
sudo aptitude install ruby-gettext potool make
make
In order to let access control work correctly, the webserver needs auth_digest support. It therefore may help to type:
sudo a2enmod auth_digest
In order to get atom-feed support you need ruby-ratom to be installed. E.g.:
sudo aptitude install ruby-dev libxml2-dev zlib1g-dev
sudo gem install ratom
To make titles with umlauts working you need to check the encoding in .htaccess, e.g.
SetEnv LC_ALL "en_US.UTF-8"
It might be the case, that you have to set some additional Variables in your .htaccess:
SetEnv GIT_AUTHOR_NAME="http user"
SetEnv GIT_AUTHOR_EMAIL=foo@example.org
SetEnv GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
SetEnv GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
You can enable a maintenance mode if you need to change something
with your installation. Using this mode, all users will see a static
message and are not able to change anything. In order to enable this
mode, create a file named /maintenance.html
which may include a
custom message. E.g.:
echo "<div>We are updating the servers and expect to be online on 0 am, January 1st, 1970 (UTC).</div>" > $DUDLE_INSTALLATION_PATH/maintenance.html
There is a docker image available
$DUDLE_HOME_FOLDER/css/
. Afterwards you may config this
one to be the default Stylesheet.
You can fetch the whole repo from https://github.com/kellerben/dudle-cssmain.rb
in $DUDLE_HOME_FOLDER/extension/$YOUR_EXTENSION/main.rb
You can clone the whole sourcecode here:
If you set $DUDLE_POEDIT_AUTO
to your lang, poedit will launch
automatically when building the application. E.g.:
export DUDLE_POEDIT_AUTO=fr
git pull
make # will launch poedit if new french strings are to be translated