Instiki on OSX

If you install Instiki on Mac OSX using the all-in-one DMG file (instiki-0.10.2.dmg), getting it to stay alive after you log out is quite hard. I had this same problem with Linux - killing the console kills Instiki.

Here's how I do it.

  1. After double-clicking the DMG file, drag the Instiki.app to /Applications.
  2. Edit /Applications/Instiki.app/Contents/Resources/rb_src/script/server, and put your wiki on port 80 - look at line 11 (I assume you want this)
  3. As root, make a starter script that looks like this:
1
2
3
4
5
#!/bin/bash
nohup /Applications/Instiki.app/Contents/MacOS/Instiki\
--storage '/var/root/Library/Application Support/Instiki/80'\
> /var/log/instiki.`date "+%Y%m%d%H%M%S"`.log &
  1. Run the script, and open http://localhost in your browser
  2. Set up your wiki

You need to arrange that the script starts every time you reboot. I'll put that up when I figure it out.

Back

Metadata

Home

Leslie

This is the website of Leslie Viljoen. More info



This website is powered by Rails 4
log in