Local deployment of a database

Wednesday, 23 March 2022 · 6 messages · last reply 24 Mar 2022
JR
Jonathan Robie23 Mar 2022 00:31 #
We are creating server instances, but we also have users who want to work locally. Ideally, I would like to be able to create an installer that would add BaseX and a set of databases to a user's system. How hard would it be to do that? Jonathan
HR
Hans-Juergen Rennau23 Mar 2022 08:36 #
Excellent - I think this is a common interest of those developing solutions based on BaseX. And "as-a-service-optionally-local" might pass as a BaseX Solution design pattern. Hans-Jürgen (PS Sometimes the most straightforward ideas come to mind last, or late.) Am Dienstag, 22. März 2022, 23:31:37 MEZ hat Jonathan Robie <jonathan.robie at gmail.com> Folgendes geschrieben: We are creating server instances, but we also have users who want to work locally. Ideally, I would like to be able to create an installer that would add BaseX and a set of databases to a user's system. How hard would it be to do that? Jonathan
CG
Christian Grün24 Mar 2022 11:44 #
Hi Jonathan, hi Hans-Jürgen, If you are using our Windows installer, the NSIS installer configuration file could be enhanced to additionally copy database files to the target installation directory [1,2]. Does this help? Christian [1] https://nsis.sourceforge.io/ [2] https://github.com/BaseXdb/basex-dist/blob/master/win/BaseX.nsi
Quoted text · Hans-Juergen Rennau · 18 lines
On Wed, Mar 23, 2022 at 8:34 AM Hans-Juergen Rennau <hrennau at yahoo.de> wrote: > > Excellent - I think this is a common interest of those developing solutions based on BaseX. > > And "as-a-service-optionally-local" might pass as a BaseX Solution design pattern. > > Hans-Jürgen > > (PS Sometimes the most straightforward ideas come to mind last, or late.) > > Am Dienstag, 22. März 2022, 23:31:37 MEZ hat Jonathan Robie <jonathan.robie at gmail.com> Folgendes geschrieben: > > > We are creating server instances, but we also have users who want to work locally. > > Ideally, I would like to be able to create an installer that would add BaseX and a set of databases to a user's system. How hard would it be to do that? > > Jonathan
CG
Christian Grünin reply to Jonathan Robie, 24 Mar 2022, 13:0924 Mar 2022 12:11 #
Quoted text · Jonathan Robie · 1 line
> And for Windows and Mac, just tell them to install the databases from .zip files or whatever?
Right, that’s the easiest solution: You can simply add databases of your choice in our BaseX zip distribution.
Quoted text · Christian Grün · 34 lines
> On Thu, Mar 24, 2022 at 6:45 AM Christian Grün <christian.gruen at gmail.com> wrote: >> >> Hi Jonathan, hi Hans-Jürgen, >> >> If you are using our Windows installer, the NSIS installer >> configuration file could be enhanced to additionally copy database >> files to the target installation directory [1,2]. >> >> Does this help? >> Christian >> >> [1] https://nsis.sourceforge.io/ >> [2] https://github.com/BaseXdb/basex-dist/blob/master/win/BaseX.nsi >> >> >> >> On Wed, Mar 23, 2022 at 8:34 AM Hans-Juergen Rennau <hrennau at yahoo.de> wrote: >> > >> > Excellent - I think this is a common interest of those developing solutions based on BaseX. >> > >> > And "as-a-service-optionally-local" might pass as a BaseX Solution design pattern. >> > >> > Hans-Jürgen >> > >> > (PS Sometimes the most straightforward ideas come to mind last, or late.) >> > >> > Am Dienstag, 22. März 2022, 23:31:37 MEZ hat Jonathan Robie <jonathan.robie at gmail.com> Folgendes geschrieben: >> > >> > >> > We are creating server instances, but we also have users who want to work locally. >> > >> > Ideally, I would like to be able to create an installer that would add BaseX and a set of databases to a user's system. How hard would it be to do that? >> > >> > Jonathan
HR
Hans-Juergen Rennauin reply to Christian Grün, 24 Mar 2022, 11:4424 Mar 2022 12:12 #
Thank you Christian! This looks very nice and clean. Kind regards, Hans-Jürgen Am Donnerstag, 24. März 2022, 11:45:01 MEZ hat Christian Grün <christian.gruen at gmail.com> Folgendes geschrieben: Hi Jonathan, hi Hans-Jürgen, If you are using our Windows installer, the NSIS installer configuration file could be enhanced to additionally copy database files to the target installation directory [1,2]. Does this help? Christian [1] https://nsis.sourceforge.io/ [2] https://github.com/BaseXdb/basex-dist/blob/master/win/BaseX.nsi
Quoted text · Hans-Juergen Rennau · 18 lines
On Wed, Mar 23, 2022 at 8:34 AM Hans-Juergen Rennau <hrennau at yahoo.de> wrote: > > Excellent - I think this is a common interest of those developing solutions based on BaseX. > > And "as-a-service-optionally-local" might pass as a BaseX Solution design pattern. > > Hans-Jürgen > > (PS Sometimes the most straightforward ideas come to mind last, or late.) > > Am Dienstag, 22. März 2022, 23:31:37 MEZ hat Jonathan Robie <jonathan.robie at gmail.com> Folgendes geschrieben: > > > We are creating server instances, but we also have users who want to work locally. > > Ideally, I would like to be able to create an installer that would add BaseX and a set of databases to a user's system. How hard would it be to do that? > > Jonathan
JR
Jonathan Robiein reply to Christian Grün, 24 Mar 2022, 11:4424 Mar 2022 13:09 #
Thanks, Christian, That looks great. I probably won't cross this bridge for a month or more, but this is what I was looking for. And for Windows and Mac, just tell them to install the databases from .zip files or whatever? Jonathan
Quoted text · Christian Grün · 42 lines
On Thu, Mar 24, 2022 at 6:45 AM Christian Grün <christian.gruen at gmail.com> wrote: > Hi Jonathan, hi Hans-Jürgen, > > If you are using our Windows installer, the NSIS installer > configuration file could be enhanced to additionally copy database > files to the target installation directory [1,2]. > > Does this help? > Christian > > [1] https://nsis.sourceforge.io/ > [2] https://github.com/BaseXdb/basex-dist/blob/master/win/BaseX.nsi > > > > On Wed, Mar 23, 2022 at 8:34 AM Hans-Juergen Rennau <hrennau at yahoo.de> > wrote: > > > > Excellent - I think this is a common interest of those developing > solutions based on BaseX. > > > > And "as-a-service-optionally-local" might pass as a BaseX Solution > design pattern. > > > > Hans-Jürgen > > > > (PS Sometimes the most straightforward ideas come to mind last, or late.) > > > > Am Dienstag, 22. März 2022, 23:31:37 MEZ hat Jonathan Robie < > jonathan.robie at gmail.com> Folgendes geschrieben: > > > > > > We are creating server instances, but we also have users who want to > work locally. > > > > Ideally, I would like to be able to create an installer that would add > BaseX and a set of databases to a user's system. How hard would it be to > do that? > > > > Jonathan >

⚡Generated with XQuery