Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cescoffier/openshift-wisdom-welcome
An example of wisdom application running on OpenShift
https://github.com/cescoffier/openshift-wisdom-welcome
Last synced: 19 days ago
JSON representation
An example of wisdom application running on OpenShift
- Host: GitHub
- URL: https://github.com/cescoffier/openshift-wisdom-welcome
- Owner: cescoffier
- Created: 2014-11-21T13:13:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-15T13:20:29.000Z (almost 9 years ago)
- Last Synced: 2024-10-17T07:51:03.408Z (about 1 month ago)
- Language: HTML
- Size: 26.9 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
openshift-wisdom-welcome
========================This is an example of Wisdom application running on OpenShift (The RedHat PASS: https://www.openshift.com/).
# Prerequisites:
You just need an OpenShift account.
# The repository
The repository contains:* an exploded version of the application
* two hooks to start and stop the applicationTo get the _exploded_ application, just take the `zip` file generated by Wisdom and unzip it.
Then create the following structure:```
.openshift
action_hooks
start
stop
````The `start` and `stop` file are the OpenShift hooks.
The `start` file contains:
```
#!/bin/bash
sh $OPENSHIFT_HOMEDIR/chameleon.sh -Dhttp.port=$OPENSHIFT_DIY_PORT -Dhttp.address=$OPENSHIFT_DIY_IP
```The `stop` file contains:
```
#!/bin/bash
sh $OPENSHIFT_HOMEDIR/chameleon.sh stop
```Don't forget to add the execution permission on these files (`chmod +x *`)
Once this is done, push the project on a git repository.
# Creating the OpenShift application
1. Log in on OpenShift
2. Create a new application
3. Use the 'DIY' Cartridge
4. Give the url of your git repositoryThat's all!