Athou / GeekBot

Home of the famous XZiBot IRC bot
http://athou.github.com/GeekBot/
19 stars 7 forks source link

Deployment on OpenShift? #3

Open tvvocold opened 9 years ago

tvvocold commented 9 years ago

What i should run is:

rhc app-create geekbot jbossas-7 
cd geekbot 
git remote add upstream -m master https://github.com/Athou/GeekBot
git pull -s recursive -X theirs upstream master
git push
rhc ssh geekbot
`cp app-root/repo/src/main/resources/config.properties.example $OPENSHIFT_DATA_DIR/config.properties && cp app-root/repo//src/main/resources/own3d.properties.example  $OPENSHIFT_DATA_DIR/own3d.properties`
exit
rhc app-restart geekbot

right? But it doesn't work for me.

$git push
-------
remote: [INFO] BUILD SUCCESS
remote: [INFO] ----------------------------------------------------------------
-------
remote: [INFO] Total time: 56.427s
remote: [INFO] Finished at: Thu Mar 12 04:51:26 EDT 2015
remote: [INFO] Final Memory: 34M/167M
remote: [INFO] ----------------------------------------------------------------
-------
remote: Preparing build for deployment
remote: Deployment id is 9b6a4380
remote: Activating deployment
remote: Deploying JBoss
remote: Starting jbossas cartridge
remote: Found 127.10.203.1:8080 listening port
remote: Found 127.10.203.1:9999 listening port
remote: /var/lib/openshift/550148b6e0b8cd6e450000af/jbossas/standalone/deployme
ts /var/lib/openshift/550148b6e0b8cd6e450000af/jbossas
remote: CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
remote: /var/lib/openshift/550148b6e0b8cd6e450000af/jbossas
remote: Failed deployments: ./ROOT.war
remote: -------------------------
remote: Git Post-Receive Result: success
remote: Activation status: success
remote: Deployment completed with status: success
To ssh://550148b6e0b8cd6e450000af@geekbot-domain.rhcloud.com/~/git/geekbot.git/
   e95bba4..8fa3ad4  master -> master
tvvocold commented 9 years ago

@Athou Can you plz add more detail in .md file? Thx!