Skip to content

Instantly share code, notes, and snippets.

@splitbrain
Created December 3, 2012 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save splitbrain/4195252 to your computer and use it in GitHub Desktop.
Save splitbrain/4195252 to your computer and use it in GitHub Desktop.
initialises the ICKE wiki repositories
#!/bin/sh
#
# Usage: wget -qO- https://raw.github.com/gist/4195252/ickeinit.sh |sh -s <installdir>
DIR="$1"
if [ -z "$DIR" ]
then
echo "Please give install directory as first parameter."
exit
fi
if [ -d "$DIR" ]
then
echo "Install directory already exists. Cowardly refuse."
exit
fi
mkdir -p "$DIR"
cd "$DIR"
pwd
# DokuWiki
git clone git@github.com:splitbrain/dokuwiki.git .
git checkout stable
# ICKE Template
git clone git@github.com:cosmocode/icke-template.git lib/tpl/icke
# CosmoCode plugins (old naming)
for PLUGIN in ajaxloader edittable fancysearch qc quicksubscribe starred tagging userpagecreate sqlite
do
git clone git@github.com:cosmocode/$PLUGIN.git lib/plugins/$PLUGIN
done
# CosmoCode plugins (new naming)
for PLUGIN in labeled
do
git clone git@github.com:cosmocode/dokuwiki-plugin-$PLUGIN.git lib/plugins/$PLUGIN
done
# splitbrain plugins
for PLUGIN in data bureaucracy
do
git clone git@github.com:splitbrain/dokuwiki-plugin-$PLUGIN.git lib/plugins/$PLUGIN
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment