blob: 5d144bd66d8bbd0388f99d170deaa0dc18b2a6d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
## Gitblit on RedHat's OpenShift Cloud Service
The Gitblit Express distribution can be copied to the root of your RedHat OpenShift
application repository. Gitblit Express is an exploded WAR file with all appropriate
dependencies bundled.
You should delete the `pom.xml` file and the `src` folder from your application repository
as this Gitblit Express is not a source distribution to be built with Maven on OpenShift.
Gitblit automatically adjusts itself to running on OpenShift. Repositories, users,
federation proposals, and setting overrides are stored in *OPENSHIFT_DATA_DIR*.
It is recommended to enable all RPC settings in the `web.xml` file to allow remote
administration and, more importantly, configuration of your Gitblit Express
installation using the Gitblit Manager.
Please do not change the following settings unless you know exactly what you are
doing:
- *git.repositoriesFolder*
- *federation.proposalsFolder*
- *realm.userService* (for standard users.properties)
Additionally, it is recommended to force your Gitblit installation to cleanup up
older versions on your OpenShift filesystem to maximize available space for your
repositories.
Append the following command to your ./openshift/action_hooks/build file:
rm -fr $OPENSHIFT_APP_DIR/jbossas-7.0/standalone/tmp/vfs/*
For more detailed instructions on how to setup and deploy an OpenShift application
please see this excellent turorial:
https://github.com/opensas/play-demo/wiki/Step-12.5---deploy-to-openshift
|