[aida] Starting a site

Janko Mivšek janko.mivsek at eranova.si
Mon Oct 15 22:21:01 CEST 2007


Hi Nicolas,

You probably didn't start a demo site before you start a tutorial and 
that's why you don't have that aidademo site properly configured. I'm 
just adding that requirement to tutorial now...sorry!

Now try to setup your site manually:

  (AIDASite named: 'aidademo')
	host: 'localhost' ip: '127.0.0.1' port: 8888.
  SwazooServer stop; start.

Hope this helps.
Janko

nicolas petton wrote:
> Hi,
> 
> I tried the tutorial. How can I start the site ?
> I tried :
> 
> |book|
> 
> book := AddressBook new.
> book addresses
> add: (Address newName: 'Sebastjan' surname: 'Dormir' phone: '01/514 33
> 66' email: 'sebastjan na something.si');
> add: (Address newName: 'John' surname: 'Newton' phone: '05/555 77 66'
> email: 'john na something.si');
> add: (Address newName: 'Elizabeth' surname: 'Schneider' phone: '03/561
> 23 12' email: 'elizabeth na something.at'). 
> 
> (AIDASite named: 'aidademo') urlResolver defaultURL: '/addressbook.html'
> forObject: book 
> 
> (BTW, "(AIDASite named: 'aidademo')..." did not work, but 
> "(AIDASite newNamed: 'aidademo')..." did.
> 
> Is there an error in the tutorial ?)
> 
> I've got a 404 error at the address :
> http://localhost:8888/addressbook.html
> 
> So I started Swazoo :
> 
> SwazooServer start
> 
> Same thing, 404 error.
> 
> I tried also :
> 
> (AIDASite named: 'aidademo') start but it didn't work.
> 
> What am I missing ?
> 
> I'm using Squeak.
> 
> Nicolas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list