Django Deployer

967 views

Published on

The Introduction to django-deployer, and the demo of deploying django onto Google App Engine.

Published in: Technology, Business
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
967
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
0
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Django Deployer

  1. 1. Django DeployerFastest way to deploy your Django app onto PaaS
  2. 2. Django DeployerWho Am I‣ LittleQ‣ Student @ National Chengchi University‣ Co-organizer @ GTUG Taipei & Taipei.py‣ Pythonista, Django & Google App Engine User‣ http://about.me/littleq
  3. 3. Django DeployerThis Presentation‣ It’s already on slideshare.net‣ scan QRCode to view it on your smartphone
  4. 4. Django DeployerOutline‣ Briefly introduce PaaS‣ Django Deployer‣ How to use Django Deployer‣ How to contribute Django Deployer if time is enough
  5. 5. Django DeployerWhat is PaaS‣ “Platform-as-a-Service”‣ deploy your code, run your code‣ Providers:๏ Google App Engine๏ Heroku๏ Amazon๏ DotCloud๏ ....and more
  6. 6. Django DeployerWhy PaaS‣ I don’t care๏ how to manage my servers๏ how to load balance my servers๏ how to build infrastructure‣ I do care๏ write and ship working code๏ somebody load balance my servers automatically๏ somebody provides me their mutual infrastructure
  7. 7. Django DeployerThe Problem of PaaS‣ Migration‣ API Binding‣ “Data” in Database‣ Price
  8. 8. Django DeployerAPI Bindingweb appGoogle App Engine APIsHeroku APIsDotCloud APIsOther PaaS APIsthings you have to dothings PaaS has to do
  9. 9. Django DeployerAPI Bindingweb appGoogle App Engine APIsHeroku APIsDotCloud APIsOther PaaS APIsthings you have to dothings PaaS has to doMiddleware
  10. 10. Django DeployerAPI Bindingweb appGoogle App Engine APIsHeroku APIsDotCloud APIsOther PaaS APIsthings you have to dothings PaaS has to doDjango
  11. 11. Django DeployerDjango‣ A web framework with various APIs:๏ mail๏ memcache๏ storage๏ ...and more‣ Be well-known by Python web developers
  12. 12. Django DeployerSo, Django Deployer‣ Make your django app available on every PaaS‣ Simplify the difficulty of deployment‣ Speed up your bootstrapping‣ On Githubhttps://github.com/natea/django-deployer
  13. 13. Django DeployerHistory of Django Deployer‣ Appsembler by Nate Aune‣ DjangoConf 2012 Development Sprint‣ PyCon 2013 Development Sprint
  14. 14. Django DeployerGoogle Summer of Code‣ Thank Django Foundation‣ Totally 3 participants under Django Foundation
  15. 15. Django DeployerI will show you the part about“Google App Engine”(Why? Because I made it)
  16. 16. Django DeployerGoogle App Engine‣ Google App Engine is not easy‣ containers V.S. sandboxed containers‣ cannot install modules with PyPI (pip)‣ special database settings, storage settings‣ most django built-in modules cannot work well
  17. 17. Django DeployerWHAT Does Django Deployer Do‣ Made App Engine Deployment to support๏ install modules via PyPI (pip) into a virtual environment๏ Use CloudSQL as the database๏ Use Google Cloud Storage as the storage๏ fast, fast, really fast deployment
  18. 18. Django DeployerLIVE DEMO TIMEIf it became a dead demo, check out http://ascii.io/a/3337

×