Configuring your applications
When you create an application, you will have a local copy of the repository, which contains your application code and the WildFly server's deployments
folder. Besides this, there are a couple of hidden folders in your Git repository. The first one is the .git
folder, which contains all your Git-related configuration. The second folder is .openshift
. The following is the content of the .openshift
folder:
chris-macbook:.openshift chris$ ls -lah drwxr-xr-x 3 chris staff 102B Aug 11 21:20 action_hooks drwxr-xr-x 4 chris staff 136B Aug 11 21:20 config drwxr-xr-x 8 chris staff 272B Aug 11 21:20 cron drwxr-xr-x 3 chris staff 102B Aug 11 21:20 markers
The action_hooks
folder is where developers can put action hook scripts that will be executed during the OpenShift build life cycle.
Note
You can create a build script to perform application initialization, such as creating tables or setting variables. For full details on supported action hooks...