I2 wiki


#1

hello.

i downloaded the latest i2 wiki from the subversion repository. i’m
not able to see it working even running under webrick (under windows
xp sp2).

i created the database (mysql 4.1) via “rake migrate” and instantiated
the first web through the console (as suggested by the readme file).
when running it what i get in the browser window is a blank page and
in the webrick (dos) window the following:

C:\Program Files\Apache
Group\Apache2\htdocs\balestrieri.com.org.net\wiki2>ruby
script\server -e development
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2006-01-01 21:37:16] INFO WEBrick 1.3.1
[2006-01-01 21:37:16] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32]
[2006-01-01 21:37:16] INFO WEBrick::HTTPServer#start: pid=4280
port=3000
127.0.0.1 - - [01/Jan/2006:21:37:31 W. Europe Standard Time] “GET /
HTTP/1.1” 50
0 0

  • -> /

did someone managed to have it working?

thanks!

–luigi


#2

Luigi-

You have to use script/console to bootstrap i2. I don't remember

exactly what you have to do but you need to create the first ‘book’
or wiki for i2 to use for its first page. The info should be in the
README that came with i2. I had the same blank page problem until I
bootstrapped the first wiki in script/console

Cheers-
-Ezra

On Jan 1, 2006, at 12:43 PM, Luigi R. wrote:

HTTP/1.1" 50
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

-Ezra Z.
WebMaster
Yakima Herald-Republic Newspaper
removed_email_address@domain.invalid
509-577-7732


#3
  1. thank you ezra! i see now i2 running … as a matter of fact i
    already did what you suggested but the solution to the problem was
    that i was trying to access the wiki without referring to the ‘wiki’
    url that was created by the bootstrap process. so, in order to be
    eventually useful to others (especially ruby/rails newbies like i’m)
    in the future:

a) if you, for example, bootstrap i2 (under webrick) with:
Book.create :name => “My Nice Wiki”, :url_name => “wiki”

b) then you have to access your wiki with the following url:
http://localhost:3000/wiki

otherwise, if you access it with:
http://localhost:3000
than you get a blank page and a 500 error without much more information

  1. i tried to use the [[include ]] tag (found in instiki to add
    a sidebar) but this doesn’t seem to work in i2. i guess it is by
    design. can some i2 user please confirm this? thank you.