Re: How to launch local wiki?

2010-10-31 Thread Alexander Burger
Hi all,

On Wed, Apr 14, 2010 at 09:36:06AM +0200, Jon Kleiser wrote:
 I would like to try the PicoLisp wiki code on my own machine, but
 I'm not sure what's the right way to launch it. Can the wiki

Now I've put a bootstrap mechanism into the wiki startup. To get a local
version of the wiki up and running, just unpack wiki.tgz and start it.

It creates three initial documents: The start page with the menu, and
the help page.

A short explanation is in the Download page of picolisp.com.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: How to launch local wiki?

2010-10-31 Thread Alexander Burger
On Sun, Oct 31, 2010 at 09:58:00AM +0100, Alexander Burger wrote:
 A short explanation is in the Download page of picolisp.com.

Oops, no, sorry!

In the Documentation page of picolisp.com (near the end).
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


How to launch local wiki?

2010-04-14 Thread Jon Kleiser

Hi,

I would like to try the PicoLisp wiki code on my own machine, but I'm 
not sure what's the right way to launch it. Can the wiki directory be 
outside the picoLisp directory? Which should be the current directory?


/Jon
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: How to launch local wiki?

2010-04-14 Thread Alexander Burger
Hi Jon,

 I would like to try the PicoLisp wiki code on my own machine, but
 I'm not sure what's the right way to launch it. Can the wiki
 directory be outside the picoLisp directory? Which should be the
 current directory?

I wouldn't recommend that, as most path names assume a local
installation. You could probably fix that by changing the calls to
'load'.


So if you unpack wiki.tgz in the runtime directory, you could just
start it as

   $ ./dbg wiki/main.l lib/too.l -main -go

The problem is the initial database. For that, a file wiki/init.l is
included that creates a minimal set of objects (Roles and users).

So for the first start, I would recommend to do

   $ mkdir -p db/wiki
   $ ./dbg wiki/main.l lib/too.l -main wiki/init.l -go

Then connect your browser to DB maintenance page at

   http://localhost/5000;

log in as admin / admin, and create the first page manually.

I just noticed, there was an error in wiki/init.l. The first user
didn't have the correct admin role. Please download the wiki.tgz once
more.

Hope I didn't forget anything.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: How to launch local wiki?

2010-04-14 Thread Jon Kleiser

Hi Alex,

On 4/14/10 10:44 AM, Alexander Burger wrote:

Hi Jon,


I would like to try the PicoLisp wiki code on my own machine, but
I'm not sure what's the right way to launch it. Can the wiki
directory be outside the picoLisp directory? Which should be the
current directory?


I wouldn't recommend that, as most path names assume a local
installation. You could probably fix that by changing the calls to
'load'.


So if you unpack wiki.tgz in the runtime directory, you could just
start it as

   $ ./dbg wiki/main.l lib/too.l -main -go

The problem is the initial database. For that, a file wiki/init.l is
included that creates a minimal set of objects (Roles and users).

So for the first start, I would recommend to do

   $ mkdir -p db/wiki
   $ ./dbg wiki/main.l lib/too.l -main wiki/init.l -go

Then connect your browser to DB maintenance page at

   http://localhost/5000;


I'm quite sure you mean http://localhost:5000;.


log in as admin / admin, and create the first page manually.

I just noticed, there was an error in wiki/init.l. The first user
didn't have the correct admin role. Please download the wiki.tgz once
more.

Hope I didn't forget anything.

Cheers,
- Alex


Just had a very quick try, but it seems to work. Thanks!

/Jon
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe