← Back to team overview

gourmet team mailing list archive

Re: [Question #699648]: Central database storage?

 

Question #699648 on Gourmet changed:
https://answers.launchpad.net/gourmet/+question/699648

Harald Franzen posted a new comment:
Yes you can.

I have my recipes in a MySQL database on a central server. All clients 
can connect to it and retrieve the recipes, etcetera.

This is how I did this:

I created a MySQL database with a user and a password on a central 
server accessible by the various clients.

Then - this is under Ubuntu - I edited the following file (for each 
client!): /usr/share/applications/gourmet.desktop

Line 76 is the exec-line, where the application is actually started. It 
starts with exec= . I changed that to reflect the different database, 
location and credentials: Exec=gourmet 
--database-url=mysql://user:password@serverurl/database

Of course, in your environment, "user", "password", "serverurl" and 
"database" have specific values.

Good luck and don't hesitate to ask questions!

Best,

Harald

-- 
Harald Franzen
SAS Centre de Plongée Souterraine
1420, Chemin des Trois Fons
46330 BLARS
La France
I: www.lotcavediving.eu
E: harald.franzen@xxxxxxxxxxxxxxxx
M: +33(0)6-45639437

Op 26-11-2021 om 16:30 schreef Ned Hedrick:
> New question #699648 on Gourmet:
> https://answers.launchpad.net/gourmet/+question/699648
>
> Is it possible to have the data reside on a network drive? I want to run the application on two Linux laptops, and share a central data repository on my home NAS.
>
> Thank you in advance!
>

You received this question notification because your team Gourmet Recipe
Manager is an answer contact for Gourmet.