[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [newbie] How to install Xavante?
- From: Gilles Ganault <gilles.ganault@...>
- Date: Wed, 19 May 2010 16:38:51 +0200
On Wed, 19 May 2010 11:23:23 -0300, Fabio Mascarenhas
<mascarenhas@acm.org> wrote:
>Plase see "Windows Installation instructions" in
>http://www.keplerproject.org/en/Installation to install LuaRocks on top of
>Lua for Windows. After Xavante is installed you can run it with the
>"wsapi.exe" command (http://www.keplerproject.org/en/Xavante).
Thanks Fabio. I successfully installed WSAPI + Xavante, and launched
Xavante! :-)
For those interested in doing the same thing, here's what I did:
1. Download and install Lua for Windows
2. Download and install the LuaRocks for Lua for Windows package
3. Unzip the LuaRocks package directly at the root of the Lua for
Windows installation directory (C:\Program Files\Lua\5.1\).
4. Next, install Xavante using LuaRocks: luarocks install xavante
5. The "xavante" package installs Xavante as a library. To run Xavante
as an application, install WSAPI:
Open a terminal window and use LuaRocks to install WSAPI for Xavante:
luarocks install wsapi-xavante
6. cd "C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples\", and run
wsapi -p9999 (I already have a web server running on Xavante's default
8080)
7. Next, aim your browser at http://localhost:9999/hello.lua
BTW, what is the connection between WSAPI, WSAPI-Xavante, and Xavante
itself?
My next goal is understanding what I can extract from C:\Program
Files\Lua\5.1\ to build a ZIP file that contains everything I need to
have Xavante up and running on a brand new Windows host.
Thank you.