• 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 572 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • WonderFox HD Video Converter Factory Pro Review April 10, 2021
  • What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor April 8, 2021
  • Is the Blockchain Hype Running Out of Breath? April 7, 2021
  • Can You Operate a Website Anonymously? April 6, 2021
  • How to Interface a Piano/Rocker Switch (SPST) With ESP32 Arduino April 5, 2021

 

About This Article

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

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

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

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

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