From 9d42369b8e36db83b209c6595585a7dfe2dfb0df Mon Sep 17 00:00:00 2001 From: Metabox Date: Sun, 28 Apr 2019 08:31:34 +1000 Subject: [PATCH] upd --- Installation.txt | 21 +++++++++++++++++++-- htdocs/cgi-bin/main.cnf | 3 ++- htdocs/cgi-bin/wsrc/main.css | 6 ++++++ 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/Installation.txt b/Installation.txt index 571c27f..f86ab65 100644 --- a/Installation.txt +++ b/Installation.txt @@ -1,12 +1,15 @@ -*** LifeLog Requirments *** +*** LifeLog Requirements *** -Web Server (any will do that supports CGI perl execution) -SQLite -Perl Modules + -git (git clone https://github.com/wbudic/LifeLog) -- Note - Perl and some modules might take time to install as their fetched and tested for your computer. + + #Install tiny thttpd web server. https://acme.com/software/thttpd/ @@ -94,7 +97,7 @@ if doing development. Copy also the /home/{user}/LifeLog/.git to /home/{user}/th Access the webserver cgi-bin. http://localhost:8080/cgi-bin/main.cgi (this might redirect to login.cgi or config.cgi in the future) -##Install LifeLog Dependetly (not automatic, manual developer way) +##Install LifeLog Dependably (not automatic, manual developer way) cd /home/{user}/ git clone https://github.com/wbudic/LifeLog run thttpd with: @@ -149,4 +152,18 @@ Where {user} and {password} are your git login credentials. Don't worry, these credentials are not uploaded. And someone must have access to your computers login to specifically hack to obtain them. +##Troubleshoot Data Problems + +To reset factory defaults, for categories and configuration. +You might need to delete data in some tables. +Issue either the bellow statements externally. + +sqlite3 data_{alias}_log.db "delete from CAT;" +sqlite3 data_{alias}_log.db "delete from CONFIG;" + +Subsequent versions of LifeLog software might require this operation. +You can export and modify your added categories via an CSV file. +Making sure the ID first column across all entries has a unique number. + + diff --git a/htdocs/cgi-bin/main.cnf b/htdocs/cgi-bin/main.cnf index 86ca723..fc723b4 100644 --- a/htdocs/cgi-bin/main.cnf +++ b/htdocs/cgi-bin/main.cnf @@ -6,5 +6,6 @@ 08|$LOG_PATH = ../../dbLifeLog/ 10|$SESSN_EXPR = +30m 12|$DATE_UNI = 0 -14|$LANGUAGE = English +14|$LANGUAGE = English +18|$IMG_W_H = 210x120 diff --git a/htdocs/cgi-bin/wsrc/main.css b/htdocs/cgi-bin/wsrc/main.css index 6623be1..28f7155 100644 --- a/htdocs/cgi-bin/wsrc/main.css +++ b/htdocs/cgi-bin/wsrc/main.css @@ -133,4 +133,10 @@ img { #cat_lst { visibility: hidden; +} + +#frm_login { + # position: absolute; + vertical-align: middle; + margin: 0; } \ No newline at end of file -- 2.34.1