• 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.

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

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • Arduino and LED Bar Display : Circuit Diagram, Code

    Here is a Guide Explaining the Basics, Circuit Diagram, Code on Arduino and LED Bar Display. LED Bar Display is Actually Like Multiple LED.

  • Publishing an OctoPress Site on Shared Hosting

    Publishing an OctoPress Site on Shared Hosting is Not That Difficult Than it Sounds. As We Can Use Git Push on Shared Hosting, It is Easy.

  • Deploy OctoPress on OpenStack Swift (HP Cloud)

    Here is How To Deploy OctoPress on OpenStack Swift, Example Given With HP Helion Cloud With Only Python Swift Client & a Custom Shebang Script.

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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
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