SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
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/

Contenu connexe

Plus de joren de groof (6)

Radiant
RadiantRadiant
Radiant
 
Prawn
PrawnPrawn
Prawn
 
Nanoc
NanocNanoc
Nanoc
 
Mistakes
MistakesMistakes
Mistakes
 
Git
GitGit
Git
 
Cucumber
CucumberCucumber
Cucumber
 

Dernier

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Dernier (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Rails Servers

  • 1. 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
  • 2. 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
  • 3. 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
  • 5. 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
  • 6. 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
  • 8. 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
  • 9. 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
  • 10. 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
  • 11. 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
  • 12. 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
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. 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