On Mon, May 17, 2010 at 2:01 PM, George Petsagourakis <petsagou...@gmail.com> wrote: > Jim Whitehead II <jnwhi...@...> writes: > >> >> Perhaps we can gather some more information: >> >> 1. What are you trying to accomplish >> 2. Do you have access to a shell account on Bluehost >> 3. Are you able to run CGI scripts on Bluehost >> >> - Jim >> > > 1. I am trying to setup a website that uses Lua in a similar way that Xavante > runs on my machine. Using WSAPI, Orbit, MySQL/SQLite, etc. > > 2. There is access through SSH. > > 3. Bluehost does support CGI.
To start with a very simple Orbit application, for example the 'Hello World' example shown on the Orbit project page [1] you'd want to do the following: 1. Install Lua and Luarocks on your system. I do this using a simple snippet that I created for this purpose [2]. 2a. ./sandbox/bin/luarocks install orbit 2b. ./sandbox/bin/luarocks install wsapi . 3. Set up your orbit application so your main script has something like the following at the top: #!/usr/bin/env /path/to/your/directory/sandbox/bin/wsapi.cgi This will set the script up so it runs using the wsapi.cgi launcher. 4. Give the script execute permissions, and set up your web server/directory to execute it as a CGI. The specifics are always a bit more sketchy, but this should get you started. There's also probably a more 'kepler' way to do things, but this is what I tend to use =) - Jim [1]: http://keplerproject.github.com/orbit/ [2]: http://snipt.net/jnwhiteh/install-lua-and-luarocks-into-a-sandboxed-directory _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/