Data Setup
Introduction
With Netuno the development of the applications goes first through the construction of the database, through the construction of the forms and fields.
And when you work as a team or need to move the application development to another environment, you need to create a backup of the database accompanied by the code.
Thus at the destination it will be necessary to reconfigure the database and so the application can be run as it was developed at its source.
The problem with this process is the effort of always remembering to create a new backup every time there is a change in the database. And the more people involved in development and/or the more environments there are to publish the application, the more complicated this process becomes.
So Netuno to solve this problem brings a system of application setup, where it automatically generates the structure of the database (schema), and additionally allows the loading of the initial data to be programmed manually through additional scripts.
It also allows you to change the type of database server ensuring that setup will run normally and the application without any problems. This means that the application can be developed on H2DataBase and with the automatically generated schemas so you may be able to change the database connection of the application to PostgreSQL or MariaDB. On the first run of the application over the new database everything will be reconstructed, regardless of the change of database server type.
It then allows the database to be completely changed without having any impact on the development already carried out.
The setup program files are inside the application folder on:
server/setup