## post-build hook

Wish to see a specific feature/change in future releases? Feel free to post it here, and if it gets enough "likes", we'd definitely include it in future releases!
grimblefritz
Veteran Member
Posts: 322
Joined: 2015-12-23 16:52

### post-build hook

I find most of my apps require some degree of post-build fixup - modifying a template or the generated php and so forth. I do this with a script that I run before I push the app out to the server.

It occurs to me that if the builder had an option to run a post-build app and pass it the app name an output folder location:

Code: Select all

post_build  APP_NAME  OUTPUT_FOLDER

then it would be a simple matter to have these fixups run automatically after the build.

grimblefritz
Veteran Member
Posts: 322
Joined: 2015-12-23 16:52

### Re: post-build hook

Bumping this to make sure it makes the feature backlog

I know there are at least two others who have wished for this (or a very similar) feature.

Posts: 1135
Joined: 2012-09-27 14:46
Contact:

### Re: post-build hook

Thanks for the suggestion. We're planning to including this and several other features for automating deployment. Here is a tip for now, if you are using the pro version of AppGini, you could automate your app generation by running AppGini from the command line as follows:

Code: Select all

path\to\AppGini.exe --generate path\to\project.axp
The above would generate the app code files for the given project file, using the settings you last specified when generating that project (by settings I mean the output folder and the file overwrite options). You could include the above command in a batch file that includes your other deployment steps after the above command.
Calendar plugin: Organize your data into beautiful calendars.
Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
Summary Reports plugin: Build powerful reports and charts for your AppGini apps.
Search Page Maker: Compose user-friendly yet powerful search pages for your AppGini apps.

jsetzer
AppGini Super Hero
Posts: 908
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

### Re: post-build hook

This is a great piece of information. I did not know that. This results in completely new perspectives!

Kind Regards,
Jan
Kind regards,
<js />

jsetzer
AppGini Super Hero
Posts: 908
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

### Re: post-build hook

Note: Ahmad's post just came in while I was writing this feature suggestion here

A post-build hook would be great, I agree

Additionally I suggest a after_setup-hook for server side processing (PHP) after initial setup or after update (when field-fixing is complete).

There we could do changes like:
• create views (for example a "members" view which can be used as lookup)
• insert records (for example masterdata, lookup values etc.)
• create groups and
• define permissions in membership-system
• create indexes on database tables
• migrate data for example move field-values from one table to a new details-table
• much more
This is not too important because I can do that stuff with prepared SQL scripts and phpMyAdmin or Adminer. It would help as soon as you have multiple server installations.

Kind Regards,
Jan
Kind regards,
<js />