Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
|sputnik.git @ 8178c1f|
## Introduction LuaRecipes is a development project to create a website for submission, collaboration, review and searching of recipes for the [Lua] programming language. This project was prompted by a [post] from Steve Donovan on the lua-l mailing list. This codebase is an attempt to realize the discussed project. ## Project Layout The initial attempt at this project is based on [Sputnik], a wiki and content platform written using Lua. The project source is organized in the following way: * README - This readme file * setup.sh - A unix setup script that downloads and install Lua/Luarocks/Sputnik/Kepler within a subdirectory. This installation will not affect any other Lua installation on your system. * sputnik.git - This directory holds a submodule that contains the git master from the Sputnik [repository]. * recipes - This directory contains the rock definition and code for a sputnik module, where all of the custom code for the application will be stored. After running the setup script, will have a directory called `sandbox` inside this directory as well. It will contain your Lua installation, your [Luarocks] installation, [Kepler] and any other supporting code. This file is ignored by git and should not contain anything other than the software necessary to run an instance of LuaRecipes on your local machine. ## Instructions To begin working with LuaRecipes, you need to have the following software: * Standard compiler toolkit (gcc, make) * CURL for fetching the Kepler/Sputnik setup package * Git Begin by cloning the LuaRecipe repository with the following command: git clone git://github.com/jnwhiteh/LuaRecipes.git LuaRecipes This will create a new directory called LuaRecipes in your current directory, which you should switch to: cd LuaRecipes Now you can run the setup script: base setup.sh This will download and install all the necessary software, and set everything up. You can start the Xavante webserver: ./sandbox/bin/sputnik.lua start-xavante sandbox/sputnik.ws You can then launch your web browser and navigate to http://localhost:8080/snippets. ## Notes Currently not very much is working, I just wanted to get things set up so we had a system for development that allowed for easy contribution and collaboration. If at all possible, code should be added to the recipes rock, rather than altering the Sputnik core, or relying on changes to pages in the wiki-data directory. : http://lua-users.org/lists/lua-l/2009-09/msg00465.html : http://spu.tnik.org/ : http://gitorious.org/sputnik/ : http://www.lua.org/ : http://www.luarocks.org : http://www.keplerproject.org/