collective.hostout: How to host a python app for $20 in 20min
Upcoming SlideShare
Loading in...5
×
 

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

on

  • 1,958 views

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 ...

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.

Statistics

Views

Total Views
1,958
Views on SlideShare
1,956
Embed Views
2

Actions

Likes
0
Downloads
8
Comments
2

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

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…
  • good article
    Are you sure you want to
    Your message goes here
    Processing…
  • Try http://anhostinghost.blogspot.com/ for a good hosting
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

  • “How to host a python app for $20 in 20min” collective.hostout Dylan Jay [email_address] Technical Solutions Manager PretaWeb
  • 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 RackSpace cloud $11USD/m 256MB up in 2min
  • Linux is intimidating At least it was for me...
  • Goals Aims to to make a hosted python app :-
    • Easy as... (CPanel, google app engine)
    • Low assumed knowledge
    • Controllable (source control, pinning versions)
    • Automate
    • Help us manager many different servers
  • Use Buildout: base.cfg [buildout] parts = myapp [myapp] recipe = zc.recipe.egg eggs = choice.bro.app $ buildout init $ bin/buildout -N -c base.cfg
  • Put collective.hostout in devel.cfg [ buildout ] extends = base. cfg parts += myslice [ myslice ] recipe = collective. hostout host= myproj . slicehost . com buildout = prod . cfg
  • 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
  • What it does Pin versions Release develop eggs Upload as needed Bootstrap server if needed Run pre-commands Run buildout Run post-commands
  • Hostout – with source control Doesn't need access to svn or git on the server
  • 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
  • ToDo
    • Better permissions/filestructure (help!!)
    • Joels zopeskel UI – Integrate – blue button
    • Transfer databases and backup
    • Ubuntu plugin, suse, redhat etc
    • Amazon,rackspace cloud api plugin
    • Integrate with source control/mr.developer
    • Rollback
    • Finish tests
    http://plone.org/products/collective.hostout