Recent Changes - Search:

Axon microserver

InterplayMedium Hardware

Plain installation and developing environment configuration


NB! Of course, first of all, you need to have *nix compatible operating system on your computer and modem (for example Linux, MacOS should be fine as well).

Download and untar Axon Microserver package wherever you want.

wget http://repository.interplaymedium.org/AXON-microserver/Debian/AxonMicroserver_12.12.2010.Debian.tar.gz
tar -xz -f AxonMicroserver_12.12.2010.Debian.tar.gz

Axon microserver has been created to work on quite weak hardware. Therefore, it utilizes Lua as html preprocessor and uses lighttpd as a small and flexible server solution. So, to organize local developing environment, you need to install lighttpd and lua (5.1 or greater) packages

sudo apt-get install lighttpd 
sudo apt-get install lua

enable cgi by running lighty-enable-mod cgi

now you need to edit lighttpd.conf sudo gedit /etc/lighttpd/lighttpd.conf

  1. find and set server.bind = "localhost" to prevent external access
  2. change "server.document-root" variable into your local axon directory path

and add cgi.assign = ( ".lua" => "/usr/bin/lua") string to sudo gedit /etc/lighttpd/conf-enabled/10-cgi.conf to make Lua avaliable as html preprocessor

restart lighttpd /etc/init.d/lighttpd restart

Software necessary for a default operation of synapses

sudo apt-get install libv4l
sudo apt-get install vgrabbj
sudo apt-get install madplay

HTML templates

Templates could be helpful for developing synapses. Please download it from here.

Page last modified on July 07, 2012, at 02:02 PM