-
Notifications
You must be signed in to change notification settings - Fork 3
OpenShift & CloudFoundry
bootstraponline edited this page Jul 21, 2012
·
1 revision
Simple overview of deploying gollum to OpenShift and CloudFoundry.
Creating a domain.
rhc domain create -n cafe -l email@example.com -p password
User already has a domain associated. Update the domain to modify.
Use 'alter' instead of 'create' to fix above.
rhc domain alter -n cafe -l email@example.com -p password
Creating an app.
rhc app create -a sinatra -t ruby-1.8 -p password
Ensure public key on website is up to date if permission denied errors occur. https://openshift.redhat.com/app/account
"Agent admitted failure to sign using the key" is fixed by ssh-add libra_id_rsa.pub on Ubuntu.
touch .openshift/markers/force_clean_build
bundle install
Commit and push to openshift.gem install vmc caldecott
vmc target api.cloudfoundry.com
vmc login
# in app directory
bundle installDeploy current dir as rack app.
vmc push wiki
Internal server error when deploying gollum. vmc ignores .git.
wikicafe.cloudfoundry.com