• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Installing Octopress on Openshift PaaS

By Abhishek Ghosh July 13, 2014 10:49 am Updated on July 13, 2014

Installing Octopress on Openshift PaaS

Advertisement

Installing Octopress on Openshift PaaS can be done in two ways. We can work from CLI and or modify rake file to create OpenShift Cartridge. Jekyll OpenShift Cartridge is available, you can build your own Cartridge, we are providing all the needed knowledge for Installing Octopress on Openshift PaaS but not for Developing Octopress Openshift Cartridge. Codes mentioned here are under GNU GPL 3.0 (not the text, only the snippets). You can also read OctoPress Installation Step by Step Guide to gain knowledge-karma.

 

Installing Octopress on Openshift PaaS

 

New users should read Shell Access on OpenShift and the linked guided on that article to get started. For domain name part, you should follow the guide – Add Domain Name to OpenShift WordPress. Basics will be the same for adding domain name. Octopress is a framework designed for jekyll to produce nice looking blogs instead of docs like pages.

Login to OpenShift account and click on Add Application... button, when the next page will load, select Ruby 1.9 from the drop down named Browse Tags, click that Ruby 1.9 application to create an application, do not change any default settings except your application name. Click create application button. After the process has been completed, you will get Making code changes page and copy down the git repository url.

Advertisement

---

You will get something like this :

Vim
1
git clone ssh://53c25198e0b8cd3f45000232@octopress-abhishekghosh.rhcloud.com/~/git/octopress.git/

Run it to clone on your local computer (it is Mac in our case, things will go same with Linux computer, BSD etc. We can not say about any paranormal, risky Malware System like windozzzz).

So, you are at $HOME, you can run pwd to check the path. Now change directory to the cloned one :

Vim
1
2
3
4
5
6
7
8
9
10
11
cd octopress
# clone octopress
git clone git://github.com/imathis/octopress.git
# so it will be under $HOME/octopress/octopress
# this is my case, your username is different
# do a pwd to get the path
cp -r /Users/abhishekghosh/octopress/octopress/* /Users/abhishekghosh/octopress
# install bundler
sudo gem install bundler
# do not use sudo for the next command
bundle install

Installing Octopress on Openshift PaaS

Output from my bash unto this :

Vim
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
36
37
Last login: Fri Jul 11 22:57:10 on ttys000
?  ~  git clone ssh://53c25198e0b8cd3f45000232@octopress-abhishekghosh.rhcloud.com/~/git/octopress.git/
Cloning into 'octopress'...
The authenticity of host 'octopress-abhishekghosh.rhcloud.com (50.16.172.242)' can't be established.
RSA key fingerprint is cf:ee:77:cb:0e:fc:02:d7:72:7e:ae:80:c0:90:88:a7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'octopress-abhishekghosh.rhcloud.com,50.16.172.242' (RSA) to the list of known hosts.
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 21 (delta 2), reused 21 (delta 2)
Receiving objects: 100% (21/21), 18.47 KiB | 6.00 KiB/s, done.
Resolving deltas: 100% (2/2), done.
Checking connectivity... done.
?  ~  cd octopress
?  octopress git:(master) git clone git://github.com/imathis/octopress.git
Cloning into 'octopress'...
remote: Reusing existing pack: 10541, done.
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 10566 (delta 8), reused 4 (delta 1)
Receiving objects: 100% (10566/10566), 2.78 MiB | 78.00 KiB/s, done.
Resolving deltas: 100% (5076/5076), done.
Checking connectivity... done.
?  octopress git:(master) ? pwd
/Users/abhishekghosh/octopress
?  octopress git:(master) ? cp -r /Users/abhishekghosh/octopress/octopress/* /Users/abhishekghosh/octopress
?  octopress git:(master) ? gem install bundler
Password:
Fetching: bundler-1.6.3.gem (100%)
Successfully installed bundler-1.6.3
Parsing documentation for bundler-1.6.3
Installing ri documentation for bundler-1.6.3
1 gem installed
?  octopress git:(master) ? sudo bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.

It will take a huge time. You can take a coffee break. After its complete, install a theme :

Vim
1
2
3
git clone https://github.com/bkutil/bootstrap-theme.git
rake install
rake generate

Push it :

Vim
1
2
3
git add .
git commit -m 'this is a fun'
git push

Well, you can now login to open shift command line tool and remove default html file, work with ruby commands directly. That /octopress/octopress directory is not needed, you can delete it.

This Article Has Been Shared 887 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Installing Octopress on Openshift PaaS

  • Cloud Apps Compared : Google Apps and Microsoft Office 365

    Cloud Apps like e-mail or office apa are enormously used now.Cloud based services like Google Apps, Microsoft Office 365 offers a cost effective way for these.

  • Embedding Streaming Video From Rackspace Cloud Files in WordPress

    Embedding Streaming Video From Rackspace Cloud Files in WordPress needs few copy paste and click works to properly show on your webpage without any plugin.

  • Private Cloud Solutions : Risk Benefit Ratio

    Private Cloud Solutions are the real cloud solution as they implement the basic idea of ??cloud computing strictly but average cost is higher than public Cloud.

  • Guide for Using AppFog from Windows PC using Command Line Tools

    Guide for Using AppFog from Windows PC using Command Line Tools is intended for the users who are still using Windows PC and can not use shell commands easily.

  • Create Your Own Virtual Private Cloud with vCider : Introduction

    Create Your Own Virtual Private Cloud with vCider and pay just for the cost of Cloud Server in case you want a quick own Virtual Private Cloud setup easily.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Installing Octopress on Openshift PaaS," in The Customize Windows, July 13, 2014, January 28, 2023, https://thecustomizewindows.com/2014/07/installing-octopress-openshift-paas/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT