Showing posts with label instiki. Show all posts
Showing posts with label instiki. Show all posts

Tuesday, July 19, 2011

Install Instiki service

cygrunsrv -I Instiki -p "/usr/bin/ruby" -a "/usr/share/instiki/instiki" -c /usr/share/instiki/" -u gallinar -w gallinar698

Start instiki on cygwin

cd /usr/share/instiki
export PATH=./lib/native/i386-cygwin:$PATH
instiki -b localhost -p 2501

Install Instiki on cygwin

Get sqlite sources.
Compile it as said in README.
To generate the shared library explicitly, we need to do:

make sqlite3.dll

Then, install the library:

mkdir /path/to/instiki/lib/native/i386-cygwin
cp sqlite3.dll /path/to/instiki/lib/native/i386-cygwin/

Update /path/to/instiki/vendor/sqlite3-ruby/sqlite3/driver/dl/api.rb to add:

when /i386-cygwin/
  "sqlite3.dll"

where the sqlite library is dynamically loaded.