In this topic I'll show you how to build Sohag Developer and generators from source code.
If you don't have the source you can download it from
Sohag Developer's downloads page here
Please note that you must download at least Sohag Developer source and Database Plugins, You can download generators according to your needs.
1-Extract Sohag Developer source into any suitable location on your system, A folder called sohag-developer-source-v2 will be created at the location you have specified this will be the root directory of the project .
2-Extract the database-plugins-source.zip file in any temporary location and copy the folder called database-plugins into the root directory.
3-Extract the file qt-cpp-templates-source.zip in any temporary location and copy the folder called qt-cpp-templates into the root directory.(You may ignore this step if you don't want to build Qt/C++ generators )
4-Extract the file php-templates-source.zip in any temporary location and copy the folder called php-templates into the root directory.(You may ignore this step if you don't want to build PHP generators )
5-Now Open the Sohag Developer pro file and build it as normal no external libs are required.
6-Build the PostgreSQL database plugin from the database plugins directory (It's a separate project ).
7-Every Sohag Developer generator is a separate project, Choose the generators you want to build and build them.
Now we need deploy our project by collecting all the binaries together .
1-Create a root directory called Sohag Developer.
2-Cope Sohag Developer executable in the root directory.
3-Create a folder called 'database' and copy the database plugin (Note that plugins names and extensions are varied according to your operating system platform ) the file name on linux is called 'libPG.so' and on windows is called 'PG.dll'.
4-Create a folder called 'data' in the root directory and copy all the generator binaries in this folder.
5-Copy the folder 'sys' into the root directory of the deployment from Sohag Developer Source root directory.
6-You can copy the Qt Sql Drivers from your system to a folder called 'sqldrivers' in the root directory or insure that they are in the path of your platform.
Now you can run the Sohag Developer .