Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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

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.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

  • Be the first to like this

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

    Be the first to comment

    Login to see the comments

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.

Views

Total views

1,643

On Slideshare

0

From embeds

0

Number of embeds

4

Actions

Downloads

10

Shares

0

Comments

0

Likes

0

×