0
“How to host a python app  for $20 in 20min” collective.hostout Dylan Jay [email_address] Technical Solutions Manager Pret...
Big Blue Button
SDK Approach Download Try Build Deploy … watch money roll in
VPS's are now cheap! Thanks Rails and Xen First get a server with root access linode, RackSpaceCloud, Amazon ec2, etc Rack...
Linux is intimidating At least it was for me...
Goals Aims to to make a hosted python app :- <ul><li>Easy as... (CPanel, google app engine)
Low assumed knowledge
Controllable (source control, pinning versions)
Automate
Help us manager many different servers </li></ul>
Use Buildout: base.cfg [buildout]  parts = myapp [myapp]  recipe = zc.recipe.egg  eggs = choice.bro.app $ buildout init $ ...
Put collective.hostout in devel.cfg [ buildout ] extends = base. cfg parts +=  myslice [ myslice ] recipe = collective. ho...
Buildout and then deploy $ bin/buildout -N -c devel.cfg Develop: 'myproj/src/choice.bro.app' Updating zope2. Updating fake...
Upcoming SlideShare
Loading in...5
×

collective.hostout: How to host a python app for $20 in 20min

1,333

Published on

collective.hostout is a buildout based deployment tool to replicate a buildout from one environment to many others. It speeds up deployment, makes the process more controlled and simplifies the process of hosting applications for those new to VPS hosting.

Published in: Technology
2 Comments
0 Likes
Statistics
Notes
  • good article
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Try http://anhostinghost.blogspot.com/ for a good hosting
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
1,333
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
2
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "collective.hostout: How to host a python app for $20 in 20min"

  1. 1. “How to host a python app for $20 in 20min” collective.hostout Dylan Jay [email_address] Technical Solutions Manager PretaWeb
  2. 2. Big Blue Button
  3. 3. SDK Approach Download Try Build Deploy … watch money roll in
  4. 4. VPS's are now cheap! Thanks Rails and Xen First get a server with root access linode, RackSpaceCloud, Amazon ec2, etc RackSpace cloud $11USD/m 256MB up in 2min
  5. 5. Linux is intimidating At least it was for me...
  6. 6. Goals Aims to to make a hosted python app :- <ul><li>Easy as... (CPanel, google app engine)
  7. 7. Low assumed knowledge
  8. 8. Controllable (source control, pinning versions)
  9. 9. Automate
  10. 10. Help us manager many different servers </li></ul>
  11. 11. Use Buildout: base.cfg [buildout] parts = myapp [myapp] recipe = zc.recipe.egg eggs = choice.bro.app $ buildout init $ bin/buildout -N -c base.cfg
  12. 12. Put collective.hostout in devel.cfg [ buildout ] extends = base. cfg parts += myslice [ myslice ] recipe = collective. hostout host= myproj . slicehost . com buildout = prod . cfg
  13. 13. Buildout and then deploy $ bin/buildout -N -c devel.cfg Develop: 'myproj/src/choice.bro.app' Updating zope2. Updating fake eggs Updating instance. Installing myslice. $ bin/hostout deploy myslice
  14. 14. What it does Pin versions Release develop eggs Upload as needed Bootstrap server if needed Run pre-commands Run buildout Run post-commands
  15. 15. Hostout – with source control Doesn't need access to svn or git on the server
  16. 16. Plugins [hostdefaults] pre-commands = apt-get install libxml post-commands = [ myslice ] recipe = collective. hostout extends - hostdefaults collective.hostout:supervisor collective.hostout:ubuntu fabfiles = ${buildout:directory}/config/customfabfile.py host= myproj . slicehost . com buildout = prod . cfg
  17. 17. ToDo <ul><li>Better permissions/filestructure (help!!)
  18. 18. Joels zopeskel UI – Integrate – blue button
  19. 19. Transfer databases and backup
  20. 20. Ubuntu plugin, suse, redhat etc
  21. 21. Amazon,rackspace cloud api plugin
  22. 22. Integrate with source control/mr.developer
  23. 23. Rollback
  24. 24. Finish tests </li></ul>http://plone.org/products/collective.hostout
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×