The config file is created by lit on the first run. It defaults to .litconfig in your home directory. You can simply create a new file with a custom database entry and it will fill in any missing fields on first run. Lit logs the path to the config file it's using on every run.
On Wed, Apr 15, 2015 at 11:18 AM, Lionel Duboeuf <[email protected]> wrote: > Sorry but didn't find any config file close to lit folder > > > What i did is following the install docs: > git clone --recursive https://github.com/luvit/luvi.git > cd luvi > make regular > make test > > > > and > > curl -L https://github.com/luvit/lit/archive/master.zip > lit.zip > LUVI_APP=lit.zip LUVI_TARGET=~/xxx ./build/luvi make lit.zip > #(if i don't specify LUVI_TARGET i will have same error as above) > > > > and then in the lit binary folder: > lit make github://luvit/luvit > > > > > > Le mercredi 15 avril 2015 17:24:23 UTC+2, Tim Caswell a écrit : >> >> Yes, you can customize the location of the database and the config file. >> >> The database is easy: Simply add or replace the `database: /custom/path` >> entry in the config file. >> >> The custom config file is a little harder since you need to use an >> environment variable to tell lit where to look. >> >> LIT_CONFIG=/path/to/custom/config >> >> This is actually how lit.luvit.io is deployed. I have the config in >> /home/lit/lit-config and database pointing to /home/lit. Therefore the >> database is the lit user's home directory. I set the environment variable >> in the service's systemd config script. >> >> On Wed, Apr 15, 2015 at 9:55 AM, Lionel Duboeuf <[email protected]> >> wrote: >> >>> hello, >>> >>> i've tried to install luvit in Openshift red hat cloud: >>> >>> $./lit make github://luvit/luvit >>> will give me this following error: >>> fail: [string "bundle:/libs/storage.lua"]:22: EACCES: permission >>> denied: /var/lib/openshift/xxxxx/.litdb.git >>> >>> are there any tuning to specify where this should be installed ? I don't >>> have permission to write in home dir. >>> >>> Thanks a lot >>> >>> regards >>> lionel >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "luvit" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "luvit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
