Wiki on a Stick Official Forums

A personal wiki living in a self-modifying XHTML file

You are not logged in.

#1 06-02-2010 02:34:30

Endogen
Total newbie
Registered: 06-02-2010
Posts: 9
Website

How to build WoaS from source?

I installed PHP and tried to build WoaS myself. I entered into cmd:

Code:

php -q woas\make_woas.php woas\woas\woas.htm

And it seems to work, console says:

Code:

Replaced src/aes.js
Replaced ...
.
.
.
WoaS merged into single file woas-merged.htm

So i think thats ok, but when i start "woas-merged.htm" i get an error. Basically saying it could not load "index.wsif". Is there something i missed?

THX

Offline

 

#2 07-02-2010 16:29:37

legolas558
Administrator
From: Rome
Registered: 05-07-2007
Posts: 544

Re: How to build WoaS from source?

No, you did it right - but unfortunately the current development version does not build OK because I enabled that native WSIF feature.

I will be fixing the build process within a couple of hours, check back SVN later!

Offline

 

#3 07-02-2010 16:49:09

legolas558
Administrator
From: Rome
Registered: 05-07-2007
Posts: 544

Re: How to build WoaS from source?

The correct procedure to build WoaS is:

- open src/loadsave.js and comment lines 457~459, and lines 465~470 and line 474 (my current revision is 791
-open woas.htm and save it after modifying some page
- open src/wsif.js and set _auto_native_wsif to false
- run php -q make_woas.php woas/woas.htm

This will create correctly woas-merged.htm but it's not yet time to use it on production!!

Please use the mailing list for these develoment-related topics

Offline

 

#4 07-02-2010 16:56:42

Endogen
Total newbie
Registered: 06-02-2010
Posts: 9
Website

Re: How to build WoaS from source?

Thank you! big_smile

Offline

 

Board footer

Copyright © WoaS Project 2007~2010