Hi,

As I mentioned in github issue, I vote for supporting XDG variables. In that 
case, all data should be stored in XDG_CONFIG_HOME (default to $HOME/.config), 
XDG_DATA_HOME (default to $HOME/.local/share).
Or at least we should create variable NLPCRAFT_HOME and use it as base 
directory. Using home directory and hard-coded path is not a good approach.

What is your thoughts about it?

Thanks,
Gleb.



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, May 24, 2020 2:06 AM, Sergey Kamov <[email protected]> wrote:

> Hi!
> I want to discuss our data files location approach.
>  - We use Apache Ignite as default db. It saves its data under
> <user-home>/.nlpcraft/ignite/
> - SQL example h2 server saves under <user-home>/nlpcraft-examples/h2/
> - Python NLP server under <project-location>/../data
>
> Let's define some one approach. (anyway we need to fix some of mentioned
> already developed parts)
>
> Regards,
> Sergey


Reply via email to