Fenchurch (000001)

Fenchurch is an iteration of Sputnik development in Fall 2008 and Winter 2009. It offers a simpler administration interface, built-in search and better responsiveness.

Installing Fenchurch

To get the absolutely latest version of Sputnik Fenchurch, get the Source (use "mainline"). Meanwhile, here is how you can install the last pre-release:

Step 1. Install Lua and Binary Dependencies

You will need Lua, luafilesystem, lpeg, md5, luasocket, rings. Those are binary libraries. You'll need to either compile them or get the binaries for your operating system. You have several options:

LuaRocks:

mkdir /tmp/sputnik
cd /tmp/sputnik/
wget http://luaforge.net/frs/download.php/3468/kepler-install-1.1-1 
yes | bash kepler-install-1.1-1 --prefix=${PWD} --without-readline --without-kepler
./bin/luarocks --only-from=http://spu.tnik.org/rocks/fenchurch install sputnik-binary-dependencies

(To use this method on Windows, see Installationinstructionsfor_Windows on the LuaRocks wiki.)

LuaForWindows:

LuaForWindows provides a nice way of installing Lua on Windows and comes with the five libraries that you will need. (That's what I heard.)

Apt-Get:

On Debian / Ubuntu systems, you should be able to install Lua and all the libraries using apt-get.

Install Sputnik and It's Pure-Lua Dependencies

If you installed LuaRocks in the step above, then you can use it to install Sputnik and Xavante.

./bin/luarocks --only-from=http://spu.tnik.org/rocks/fenchurch install sputnik
./bin/luarocks --only-from=http://spu.tnik.org/rocks/fenchurch install xavante

(Remove ./bin if have luarocks in your path.)

Alternatively, you can just get the Lua source for Sputnik and all of it's pure-Lua dependencies from sputnik-9.02.16-all-in-one.zip and copy the the files and directories in the "lua" folder to some place where your Lua installation will find them.

Setup

Use Lua to generate configuration files:

./bin/lua -lluarocks.require -e 'require("sputnik").setup()'

(If not using luarocks, skip -lluarocks.require and make sure your Lua paths include Sputnik.)

Then create a directory to store the data:

mkdir wiki-data && chmod -R a+rw wiki-data

(Or just do this by hand.)

Run Sputnik Using Xavante

You are now ready to start an instance of Xavante configured to just run Sputnik:

./bin/lua -lluarocks.require -e 'require("sputnik.xavante").start("./")'

(There is no bin/xavante_start.sh anymore, but you can put the line above into a shell script.)

Deploy as CGI, etc.

If you don't want to deploy Sputnik using Xavante, you have many other options. See Installations on how to use CGI or FastCGI.

Powered by Sputnik | XHTML 1.1