OpenShift PowerPoint Presentation Slides

advertisement
Getting Started with
OpenShift
Sign up code
CodeChixRock
Steven Citron-Pousty
PaaS Dust Spreader, Red Hat
@TheSteve0
1
Agenda
• Learn a little about OpenShift
• See it demo’ed
• Let you ask questions
If you sign up please use the code:
codechixrock
2
Basics of the Web
3
Think of it like
Mail, Fedex, FAX, email, carrier pigeon….
You send a letter
Someone receives it
Sends you a response
4
Old School
Setup a server somewhere
Pay money to host it
Configure the software
Spend days troubleshooting the configuration
Pay someone to maintain it
Figure out how to deploy
Write code and finally build your site
5
Cook24v
on Flickr
6
Watch how fast I bring up Wordpress!
7
Kind of like Amazon, right? Nope.
8
What’s supported?
9
10
Looks great, but what’s the catch?
• OpenShift is free-as-in-beer & free-as-in-freedom
• Three gears – 1.5 gig RAM, 3 gig Disk (always free)
• Need more resources, just ask!
• The Catch is we are in developer preview right now
11
12
Dalbera on Flickr
13
Enough Talk – let’s code
You need to know GIT (but only a little bit)
14
Repositories (repos) and moving files between them
Your laptop
1. Git clone
Your OpenShift gear
2. Write your code
3. Git commit and git add
4. Git push
Local Repository
Remote Repository
15
Actual commands to use
Your laptop
1. git clone <your git url>
Your OpenShift gear
2. Write your code
3. For existing files: git commit –am “ your message”
For new files: git add .
4. git push
Local Repository
Remote Repository
16
17
Where Next?
18
Conclusion
1. Openshift makes life great for devs
2. The tools are easy to use
3. Almost anything you need on a server
4. Did I mention – Free
If you sign up please use the code:
codechixrock
#openshift on freenode
19
Download