summaryrefslogtreecommitdiffhomepage
path: root/INSTALL
blob: a9196f0816e05491604a9891c656888ff6a21a10 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
FFLuCI Installation Instructions

TOC:
1. Kamikaze Feed
2. Kamikaze Packages
3. Manual Installation


1. Kamikaze Feed
	1. Change to your OpenWRT buildroot

	2. Add the following line to your OpenWRT feeds.conf:
		src-svn ffluci https://dev.leipzig.freifunk.net/svn/ff-luci/trunk/contrib/package
		
	3. Run ./scripts/feeds update ffluci
	
	4. Run ./scripts/feeds install ffluci
	
	5. Type make menuconfig and you will find ffluci in the menu "Administration"
	
		
2. 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"


3. Manual Installation
	Prerequisites:
		CGI enabled webserver
		Lua 5.1.x or later
		Luaposix Lua extension
		Haserl 0.9.23 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.