Rails Servers
Upcoming SlideShare
Loading in...5
×
 

Rails Servers

on

  • 1,650 views

 

Statistics

Views

Total Views
1,650
Views on SlideShare
1,649
Embed Views
1

Actions

Likes
1
Downloads
11
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Rails Servers Rails Servers Presentation Transcript

    • Extremely Rails Webserving en Hosting evolved solutions Van Applicatie naar Web Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. http://frank.be/ - @frank_be http://www.openminds.be/ Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 pub_openminds.indd 1 11/15/06 10:53:57 AM
    • Applicatie serven • Tijdens ontwikkelen Extremely evolved solutions Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. • Eens het “af” is Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • The Rules ... Extremely evolved solutions Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Rule #1 Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Development = development omgeving
    • Development = dev • Development mode in Rails Extremely • geen caching evolved solutions • telkens alles herladen Lorem ipsum dolor sit amet, cons • veel debugging en logging ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. • Niet op productie-omgeving! • Waar wel? • lokaal • grotere teams: development server Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • The Rules ... Extremely evolved solutions Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Rule #2 Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • First learn rule #1
    • Development servers • ./script/server Extremely evolved • standaard solutions • mongrel (of webbrick) op poort 3000 Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. • http://127.0.0.1:3000/ Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. • Nadelen? • console open • meerdere projecten tegelijk: bijhouden waar/wat gestart • veel images/css/js op uw site: traag (alles via mongrel) Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Development servers • Mac: Passenger! Extremely evolved • module voor de Apache (standaard op Mac!) solutions • gem install passenger Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. • Passenger Prefpane: http://bit.ly/passengerprefpane Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. • Voordelen? • Prefpane: handig • http://projectnaam.local/ - http://anderproject.local/ • Wordt pas gestart als nodig Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Development servers Extremely evolved solutions Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Production servers • Keuze! Extremely evolved • Mongrel solutions • Thin Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet • Apache + Passenger non, ullamcorper ut, volutpat lacinia, purus. • Nginx + Passenger • Lighttpd + FastCGI • Glassfish (Java / Jruby) Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Openminds • Keuze! Extremely evolved • Mongrel solutions • Thin Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet • Apache + Passenger non, ullamcorper ut, volutpat lacinia, purus. • Nginx + Passenger • Lighttpd + FastCGI • Glassfish (Java / Jruby) Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Deployment • Deploy-watte? Extremely evolved solutions • Lorem ipsum dolor sit amet, cons Van uw ontwikkelomgeving ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet • non, ullamcorper ut, volutpat lacinia, purus. Naar uw productieomgeving • Lastig voor beginners Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Problemen ... • FTP (jaja) of scp van files Extremely evolved • database.yml solutions • migraties? Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet • PhpMyAdmin non, ullamcorper ut, volutpat lacinia, purus. • herstarten van applicatie • help, deze versie bevat kritieke fout: rollback Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Recept dat werkt • Source-control systeem Extremely evolved solutions • Lorem ipsum dolor sit amet, cons Capistrano ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. • Database migrations (eventueel fixtures) • cap deploy Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • SOS Piet uitsmijter 1.Development nooit op productieomgeving Extremely evolved solutions Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec 2.http://bit.ly/passengerprefpane sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. 3.Productie: veek keuze, kies wijs 4.Deployment strategie (capistrano) Zilverenberg 39 - B-9000 Gent - Belgium Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57 Frank Louwers Arrrrcamp Gent - 20090508 pub_openminds.indd 1 11/15/06 10:53:5
    • Q &A http://flickr.com/photos/mbake/399084699/