Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenShift hosting notes #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,22 @@

The goal of this project is to build a site/app that hosts a socially-curated
collection of links to web development articles, videos, and other resources.

## Deployment on OpenShift

1. Check out a local copy of this project from GitHub:

git clone https://github.com/whastings/web_dev_bookmarks.git bookmarks
cd bookmarks

2. Create a new hosted Linux environment on OpenShift:

rhc app create bookmarks ruby-1.9 postgresql-9.2 --no-git

3. Add your remote OpenShift repository to your list of Git remotes:

git add remote openshift ssh://[email protected]/~/git/bookmarks.git/

4. Force push over the top of OpenShift's default "Hello World" sample ruby application source:

git push -f openshift master