Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Replicating Database from IDE to Server
Fri, Feb 1 2019 7:30 AMPermanent Link

Michael Saunders

For a while now whenever developing a new app and make changes to the IDE Internal Database defintions I have had to duplicate these manually on the external server if I wish to test this setup also

Is there an easier way to do this  

Note that while testing I have the external server on the same machine as the IDE. I develop using the IDE on a wired connection but test the  external server with a wireless connection using a phone so I need to switch between the two regularly

Thanks
Fri, Feb 1 2019 10:49 AMPermanent Link

Bruno Larochelle

hi Michael..

If I understand your question.. find the 'ewbsrvr.ini' file on your dev machine (on my machine, On win10, I think this is in 'C:\ProgramData)\Elevate Software\Elevate Web Builder 2\ ...). Copy/paste the database definitions from that file to the matching one one your deployment server.


(note that 'C:\ProgramData' is not always visible by default.. you may have to type it in for it to appear..)

hope that helps a bit!





Michael Saunders wrote:

For a while now whenever developing a new app and make changes to the IDE Internal Database defintions I have had to duplicate these manually on the external server if I wish to test this setup also

Is there an easier way to do this  

Note that while testing I have the external server on the same machine as the IDE. I develop using the IDE on a wired connection but test the  external server with a wireless connection using a phone so I need to switch between the two regularly

Thanks
Fri, Feb 1 2019 11:01 AMPermanent Link

Bruno Larochelle

.. let me correct myself ..

you want to copy from the 'ewbide.ini' file (which is where you 'dev' DB definitions are stored) to the 'ewbsrvr.ini' file (the 'deploy' server)

on my win10 machine.. the 'ewbide.ini' file is located in the 'C:\Users\Bruno\AppData\Local .... '

and the 'ewbsrvr.ini' is in : 'C:\ProgramData)\Elevate Software\Elevate Web Builder 2\ ...'

hope i got it straight this time!

.. Bruno


//


Bruno Larochelle wrote:

hi Michael..

If I understand your question.. find the 'ewbsrvr.ini' file on your dev machine (on my machine, On win10, I think this is in 'C:\ProgramData)\Elevate Software\Elevate Web Builder 2\ ...). Copy/paste the database definitions from that file to the matching one one your deployment server.


(note that 'C:\ProgramData' is not always visible by default.. you may have to type it in for it to appear..)

hope that helps a bit!





Michael Saunders wrote:

For a while now whenever developing a new app and make changes to the IDE Internal Database defintions I have had to duplicate these manually on the external server if I wish to test this setup also

Is there an easier way to do this  

Note that while testing I have the external server on the same machine as the IDE. I develop using the IDE on a wired connection but test the  external server with a wireless connection using a phone so I need to switch between the two regularly

Thanks
Fri, Feb 1 2019 11:02 AMPermanent Link

Bruno Larochelle

... well .. i should add.. you want to copy only the DB definitions inside those files .. (so open them with a text editor and have a look)

.. Bruno

Bruno Larochelle wrote:

.. let me correct myself ..

you want to copy from the 'ewbide.ini' file (which is where you 'dev' DB definitions are stored) to the 'ewbsrvr.ini' file (the 'deploy' server)

on my win10 machine.. the 'ewbide.ini' file is located in the 'C:\Users\Bruno\AppData\Local .... '

and the 'ewbsrvr.ini' is in : 'C:\ProgramData)\Elevate Software\Elevate Web Builder 2\ ...'

hope i got it straight this time!

.. Bruno


//


Bruno Larochelle wrote:

hi Michael..

If I understand your question.. find the 'ewbsrvr.ini' file on your dev machine (on my machine, On win10, I think this is in 'C:\ProgramData)\Elevate Software\Elevate Web Builder 2\ ...). Copy/paste the database definitions from that file to the matching one one your deployment server.


(note that 'C:\ProgramData' is not always visible by default.. you may have to type it in for it to appear..)

hope that helps a bit!





Michael Saunders wrote:

For a while now whenever developing a new app and make changes to the IDE Internal Database defintions I have had to duplicate these manually on the external server if I wish to test this setup also

Is there an easier way to do this  

Note that while testing I have the external server on the same machine as the IDE. I develop using the IDE on a wired connection but test the  external server with a wireless connection using a phone so I need to switch between the two regularly

Thanks
Fri, Feb 1 2019 11:53 AMPermanent Link

Michael Saunders

you want to copy from the 'ewbide.ini' file (which is where you 'dev' DB definitions are stored) to the 'ewbsrvr.ini' file (the 'deploy' server)

Thanks that does help speed things up I should have guessed they would be in an INI file somewhere

Mike
Fri, Feb 1 2019 12:21 PMPermanent Link

Bruno Larochelle

it occurs to me that in your case, because your 'server' is on the same machine as the 'dev' .. you could use the handy 'import' button on the EWB Server interface.. (Database section..). One button solution in your case!

.. Bruno


Michael Saunders wrote:

you want to copy from the 'ewbide.ini' file (which is where you 'dev' DB definitions are stored) to the 'ewbsrvr.ini' file (the 'deploy' server)

Thanks that does help speed things up I should have guessed they would be in an INI file somewhere

Mike
Fri, Feb 1 2019 2:38 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< For a while now whenever developing a new app and make changes to the IDE Internal Database defintions I have had to duplicate these manually on the external server if I wish to test this setup also

Is there an easier way to do this >>

As Bruno indicated, there's an Import button in the external EWB Web Server for this purpose:

https://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=Configuring_Server

under "Databases".

As an aside, this gets much, much easier in EWB 3.  In EWB 3, when you're working with databases, you do so in the new Server Manager in the IDE, and you can easily migrate server configurations from one server to another while staying in the IDE.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Feb 1 2019 3:50 PMPermanent Link

Michael Saunders

As an aside, this gets much, much easier in EWB 3.  In EWB 3, when you're working with databases, you do so in the new Server Manager in the IDE, and you can easily migrate server configurations from one server to another while staying in the IDE.

Sounds good   Any ETA for this?

Mike
Mon, Feb 11 2019 2:49 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< Sounds good   Any ETA for this? >>

Please see my new post here:

https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&msg=15511&page=1

Tim Young
Elevate Software
www.elevatesoft.com
Image