gourmet icon indicating copy to clipboard operation
gourmet copied to clipboard

Provide config to set path of database file

Open theldoria opened this issue 7 years ago • 3 comments

I want to be able to put the gourmet database into a specific folder.

This is required in order to:

  1. share my database across several systems and
  2. put the database under version control

theldoria avatar Mar 23 '17 16:03 theldoria

I know this isn't a programming solution but as a work around I've moved the DB file to a dropbox folder then created a symlink in the default location. Simple to do in Linux and on windows you can use an elevated command prompt with mklink.

https://technet.microsoft.com/en-us/library/cc753194(v=ws.11).aspx

freeagent1384 avatar Mar 27 '17 22:03 freeagent1384

There is a commandline switch to do it but the trouble is its not convenient to bring to the "frozen" windows executable

On Mon, Mar 27, 2017, 6:46 PM freeagent1384 [email protected] wrote:

I know this isn't a programming solution but as a work around I've moved the DB file to a dropbox folder then created a symlink in the default location. Simple to do in Linux and on windows you can use an elevated command prompt with mklink.

https://technet.microsoft.com/en-us/library/cc753194(v=ws.11).aspx

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thinkle/gourmet/issues/878#issuecomment-289608577, or mute the thread https://github.com/notifications/unsubscribe-auth/AAi8W9TQAh9tvKXpEyiThDTmxo7WScdqks5rqDxHgaJpZM4MnDjv .

thinkle avatar Mar 27 '17 22:03 thinkle

It would be nice to be able to choose the location of the DB file. I have a NAS on my LAN that has NFS shares, which would make it convenient to share across several computers/users.

ncoder-1 avatar Jun 25 '17 16:06 ncoder-1