Instiki
Hosted Services

Heroku

  • Sign up for an account at Heroku.
  • Install the Heroku commandline tools
  • Then do a
    heroku login -i
    git clone https://github.com/parasew/instiki.git
    cd instiki
    heroku create [APPNAME]
    mv Gemfile Gemfile.orig
    git mv Gemfile.heroku Gemfile
    git mv Gemfile.lock.heroku Gemfile.lock
    git mv public/svg-edit/editor/jgraduate/css/jgraduate.css public/svg-edit/editor/jgraduate/css/jGraduate.css
    git commit -m "Setup for heroku"
    git push heroku master
    heroku config:set RAILS_ENV=production
    heroku run rake db:schema:load
    heroku run rake db:migrate
  • Open https://[APPNAME].herokuapp.com/ and configure your Instiki wiki.

Updating just requires a

git pull
git push heroku master

and (if necessitated by a schema update)

heroku run rake db:migrate

If you go this route, you can also follow the instructions for deploying the tex2svg server to Heroku.

Dreamhost

Running Instiki on Dreamhost is quite easy, since Dreamhost supports Ruby-on-Rails via Passenger (mod_rails).

  • Create a new fully hosted domain (we’ll call it wiki.domain.com) on Dreamhost.
  • Check the “Ruby on Rails Passenger (mod_rails)” box. Under “Specify your web directory” enter “wiki.yourdomain.com/public

This will create the wiki.domain.com folder in the user’s home directory. Login to your shell account and do the following:

cd wiki.yourdomain.com
wget http://golem.ph.utexas.edu/~distler/code/instiki-svn.tar.gz
tar --strip-components 1 -xzf instiki-svn.tar.gz
unset GEM_HOME GEM_PATH
ruby bundle install --path vendor/bundle

Open wiki.yourdomain.com in your browser and set up the wiki.