Album Loader F
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Markus Bergholz 30325cf3d7 trigger garbage collection and set self:finish() after get and download 2 years ago
doc Update datastructure.md 2 years ago
etc/systemd/system tabula rasa 2 years ago
html add dashboard template 2 years ago
incl expand login.css with list styles 2 years ago
misc tabula rasa 2 years ago
Makefile makefile LUAROCKS var fix and expand for arch and ubuntu 2 years ago
README.md update README 2 years ago
alf.lua fix session check 2 years ago
alfdis.lua return number in getLimit() and count() 2 years ago
config.template move cookie_secret to config 2 years ago
exampleData.lua update exampleData with field 'albumname' for ALBUM: keyspace 2 years ago
main.lua trigger garbage collection and set self:finish() after get and download 2 years ago
resp.lua tabula rasa 2 years ago
setup.sh copy config.template to config.lua in setup.sh 2 years ago
templates.lua add dashboard template 2 years ago

README.md

Oi-Software

Install system dependencies

Install system dependencies, at least redis, luajit, luarocks, make and gcc

# pacman -S redis luajit luarocks-5.1 make gcc

Install and setup ALF using Makefile

$ make
dev                            setup dummy data for development
install                        Install ALF dependencies locally
run                            start ALF
setup                          setup ALF
stop                           stop ALF
tabularasa                     Tabula rasa
uninstall                      uninstall ALF dependencies

$ make setup
copy config

$ make dev
Setup dummy data for development

1JXGQXLC
UUJMOXGM
AHDG5GCW
DYDD84D0
A9EAN2HI

$ make run
Starting ALF

config

$ cp config.template config.lua
  1. change baseurl to productive url, otherwise redirecting will fail
  2. set redis settings in config.lua
  3. set a cookie_secret