summaryrefslogtreecommitdiffhomepage
path: root/INSTALL
blob: 5ce58e5519c038deb04f5a6769448330fb01a4d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FFLuCI Installation Instructions

TOC:
1. Kamikaze Packages
2. Manual Installation



1. Kamikaze Packages
	1.	At first make sure you already added "lua" from
		the OpenWRT Packages repository to your buildroot's "package" directory
	 
	2.	cd to the "package" directory of your kamikaze buildroot
	
	3.	Type: ln -s /path/to/ff-luci/contrib/package/* ./
	
	4.	cd to your kamikaze build root and type: make menuconfig
		You will find ffluci in the menu "Administration"


2. Manual Installation
	Prerequisites:
		CGI enabled webserver
		Lua 5.1.x or later
		LuaFileSystem Lua extension
		Haserl 0.9x or later with Lua support builtin
	
	Installation:
	Use make to build a distribution of FFLuCI
		make: creates the source distribution with freifunk config pages
		make dist-compile: same as above but bytecompiles lua modules
		
		make source-examples: creates a plain distribution with example pages
		make dist-examples: same as above but bytecompiles lua modules
		
		make source: creates a plain distribution without pages
		make compile: same as above but bytecompiles lua modules
		
	Put the ffluci dist/ffluci directory somewhere on your harddrive
	e.g. in your Lua Path
	
	Put a bootstrap file like the one in contrib/ffluci into your webservers
	CGI-Directory and adapt it to your needs.
	
	Also have a look at dist/ffluci/config.lua for configuration options.