summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-10-06 01:50:21 +0200
committerGustav Eek <gustav.eek@fripost.org>2019-10-06 01:50:21 +0200
commitceaba1dbb9f4352aba14397e9ae5f3da34b25eac (patch)
tree649b9f03339c8ce161c292de00b5ac991566328e
parentd26cf0a5468a87a1fba327eff2ad06fae2b9ff6d (diff)
SQUASH Buster compatible instructions for create-a-wiki.
Adoptions for Debian 10 Buster are performed: * Pull library components (plugins) from wiki repo instead of ansible repo * Chance configuration to not use `smart` On wiki vs. ansible repos. The later is still on Squeze. The former is updated in separate commit.
-rw-r--r--create-a-wiki-preview.mdwn17
1 files changed, 10 insertions, 7 deletions
diff --git a/create-a-wiki-preview.mdwn b/create-a-wiki-preview.mdwn
index 05f8153..79e48ce 100644
--- a/create-a-wiki-preview.mdwn
+++ b/create-a-wiki-preview.mdwn
@@ -36,14 +36,14 @@ by pointing the browser to *http://fripost.localhost* and
*~/.ikiwiki/fripost-wiki.setup* will be only minor modifications of
Friposts wiki configuration.
-The guide assumes Debian stable. This is the overview of software
-needed:
+The guide assumes Debian stable. Since July 2019 that is Debian 10
+Buster. This is the overview of software needed:
* Git -- from Debian
* Ikiwiki -- from Debian
* Pandoc -- from Debian
* Some Ikiwiki plugins (e.g. for Pandoc) which will be provided from
- Fripost's configuraiton
+ Fripost's configuration and wiki repositories.
* Nginx -- webserver from Debian
Install and configure Git
@@ -111,17 +111,20 @@ cat <<EOF | tee /tmp/fripost-wiki.sed
/^historyurl:/ s/^/\#/g
/^diffurl:/ s/^/\#/g
/^gitorigin_branch:/ s|:.*$|: ''|
+/^pandoc_smart:/ d
EOF
-sed -f /tmp/fripost-wiki.sed \
- < ~/git/fripost/ansible/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup \
- > ~/.ikiwiki/fripost-wiki.setup
+sed -f /tmp/fripost-wiki.sed -i ~/.ikiwiki/fripost-wiki.setup
```
*TODO investegate what to do with post update thing.*
+Copy Ikiwiki configuration from Fripost Ansible repository:
+
+ cp ~/git/fripost/wiki/.ikiwiki/IkiWiki/Plugin/*.pm ~/.ikiwiki/IkiWiki/Plugin/
+
Run setup:
- $ ikiwiki --setup ~/.ikiwiki/fripost-wiki.setup
+ ikiwiki --setup ~/.ikiwiki/fripost-wiki.setup
Install and conifgure Nginx and host files
==========================================