58 lines
1.7 KiB
Plaintext
58 lines
1.7 KiB
Plaintext
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
|
|
|
|
4. Run ./scripts/feeds install luci-lua 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. |