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:
#!/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.

Les

Metadata

Home

This is the website of Leslie Viljoen. I am a Disciple, Husband, Dad, Programmer, Gamer, Geek, Writer, Biker, Gardner. Perhaps even in that order. I currently live in Auckland, New Zealand.

Leslie

In 2011 I moved to Auckland and began working for TrifectaGIS, writing mostly Ruby and Rails code. I love my work!

Comments are welcome! Contact me AT gmail, using the address "leslieviljoen".


2011

May

April

2008

May

February

2007

May

March


Darwin

Diabetes

Interactive Fiction

Meta

Ruby

Ubuntu


Relatives and Friends

My LiveJournal
Village Montessori School
Loading.Ready.Run