-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- you can find it here: http://www.isc.cvut.cz/dokuwiki
- To to see it you have to have account on galaxy: https://galaxy.esn.org
- To to edit it you have to be "Local.activeMember" of "ISC CTU in Prague" on galaxy.
- Galaxy login was inspired by: http://wiki.esn-usti.cz/doku.php?id=board/it#galaxy_pristup
- Galaxy on ESN wiki: http://wiki.esn.org/wiki/galaxy
- It is using authplaincas plugin for dokuwiki: https://www.dokuwiki.org/plugin:authplaincas
- it lives in: /var/www/dokuwiki
- which is linked from: /var/www/master/dokuwiki
- it's git repository was once downloaded (using deploy script) into: /var/www/git-projects/dokuwiki
- subdirectory www contains the dokuwiki data, the rest is for deploy script etc
- the Galaxy authplaincas plugin lives in: /var/www/dokuwiki/lib/plugins/authplaincas/
- the file install.php in dokuwiki_root was deleted right after installation was performed
-
Galaxy
-
seznam sekci: authplaincas/plaincas.settings.php
-
nastaveni pripojeni do galaxy (nebylo treba menit): authplaincas/conf/default.php
-
soubor dokuwiki_root/conf/local.php !!!
$conf['superuser'] = '@ISC_CTU_in_Prague.webmaster,
@ISC_CTU_in_Prague.regularBoardMember'; // <- originally @admin' $conf['authtype'] = 'authplaincas'; // <- originally 'authplain' -
that's about it
-
ACL - acces controll list
-
it sleeps in conf/acl.auth.php, but it's better edited directly from wiki
-
cd /var/www
-
wget http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
-
tar xvf dokuwiki-stable.tgz
-
rm dokuwiki-stable.tgz
-
mv dokuwiki-2014-09-29 dokuwiki
-
ln -s master/dokuwiki dokuwiki
-
from web browser go to: http://www.isc.cvut.cz/dokuwiki/install.php
-
go through the installation process
-
rm dokuwiki/install.php
-
chown -R it:www-data dokuwiki
-
cp -R dokuwiki .dokuwiki~
-
actually I downloaded the dokuwiki locally
-
unpacked it into local git repo,
-
commited in here
-
created deploy script in: /var/www/deploy/conf/dokuwiki.json { "GitFolder":"dokuwiki", "GitName":"dokuwiki", "WebFolder":"dokuwiki", "WebRootFolder":"www" }
-
deployed using: http://deploy.isc.cvut.cz/?project=dokuwiki
-
and then just copied so that the files are in /var/www/dokuwiki/ as I realized the deploy script isn't really worth it at the moment
-
it's easier to keep backup of the entire directory in /var/www/.dokuwiki~