Getting Started with OpenShift Sign up code CodeChixRock

19
1 Getting Started with OpenShift Sign up code CodeChixRock Steven Citron-Pousty PaaS Dust Spreader, Red Hat @TheSteve0

description

Getting Started with OpenShift Sign up code CodeChixRock. Steven Citron-Pousty PaaS Dust Spreader, Red Hat @TheSteve0. Agenda. Learn a little about OpenShift See it demo ’ ed Let you ask questions. If you sign up please use the code: codechixrock. Basics of the Web. Think of it like. - PowerPoint PPT Presentation

Transcript of Getting Started with OpenShift Sign up code CodeChixRock

Page 1: Getting Started with  OpenShift Sign up code  CodeChixRock

1

Getting Started with OpenShift

Sign up code CodeChixRock

Steven Citron-PoustyPaaS Dust Spreader, Red Hat

@TheSteve0

Page 2: Getting Started with  OpenShift Sign up code  CodeChixRock

2

Agenda

• Learn a little about OpenShift

• See it demo’ed

• Let you ask questions

If you sign up please use the code: codechixrock

Page 3: Getting Started with  OpenShift Sign up code  CodeChixRock

3

Basics of the Web

Page 4: Getting Started with  OpenShift Sign up code  CodeChixRock

4

Think of it like

Mail, Fedex, FAX, email, carrier pigeon….

You send a letter

Someone receives it

Sends you a response

Page 5: Getting Started with  OpenShift Sign up code  CodeChixRock

5

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

Page 6: Getting Started with  OpenShift Sign up code  CodeChixRock

6Cook24v on Flickr

Page 7: Getting Started with  OpenShift Sign up code  CodeChixRock

7

Watch how fast I bring up Wordpress!

Page 8: Getting Started with  OpenShift Sign up code  CodeChixRock

8

Kind of like Amazon, right? Nope.

Page 9: Getting Started with  OpenShift Sign up code  CodeChixRock

9

What’s supported?

Page 10: Getting Started with  OpenShift Sign up code  CodeChixRock

10

Page 11: Getting Started with  OpenShift Sign up code  CodeChixRock

11

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

Page 12: Getting Started with  OpenShift Sign up code  CodeChixRock

12 Dalbera on Flickr

Page 13: Getting Started with  OpenShift Sign up code  CodeChixRock

13 Enough Talk – let’s code

Page 14: Getting Started with  OpenShift Sign up code  CodeChixRock

14

You need to know GIT (but only a little bit)

Page 15: Getting Started with  OpenShift Sign up code  CodeChixRock

15

Repositories (repos) and moving files between them

Your laptop Your OpenShift gear

Local RepositoryRemote Repository

1. Git clone

2. Write your code

3. Git commit and git add

4. Git push

Page 16: Getting Started with  OpenShift Sign up code  CodeChixRock

16

Actual commands to use

Your laptop Your OpenShift gear

Local RepositoryRemote Repository

1. git clone <your git url>

2. Write your code

3. For existing files: git commit –am “ your message” For new files: git add .

4. git push

Page 17: Getting Started with  OpenShift Sign up code  CodeChixRock

17

Page 18: Getting Started with  OpenShift Sign up code  CodeChixRock

18

Where Next?

Page 19: Getting Started with  OpenShift Sign up code  CodeChixRock

19

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

Conclusion

If you sign up please use the code: codechixrock

#openshift on freenode