On Sun, Mar 21, 2010 at 5:48 PM, Jeff Otterson <otter...@yahoo.com> wrote:
> Hi,
>
> What all do I really need to have for a light-weight xavante/cgilua 
> environment?  I want to run cgilua scripts today, and maybe some luapages 
> tomorrow...

First install LuaRocks, WSAPI and Xavante. It is easier if you install
with the installer at
http://github.com/downloads/keplerproject/wsapi/wsapi-install-1.3.2:

bash wsapi-install-1.3.2 --prefix=/install/path

Now you have to install CGILua cvs with

/install/path/bin/luarocks install cgilua
--from=http://luarocks.org/repositories/rocks-cvs

And md5 with

/install/path/bin/luarocks install md5

Then run the wsapi script with the --cgilua option, passing your document root:

/install/path/bin/wsapi --cgilua /path/to/docroot

After you do that everything you need will be on /install/path. You
can scrap the install/path/lib/luarocks directory if you do not want
to install or update rocks.

You will have installed the following packages:

Xavante 2.2.0
LuaSocket 2.0.2
Copas 1.1.6
Coxpcall 1.13
WSAPI 1.3.2
Rings 1.2.3
MD5 1.1.2
LuaFileSystem 1.5.0

--
Fabio Mascarenhas

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to