Mais conteúdo relacionado Semelhante a The story and tech of Read the Docs (20) The story and tech of Read the Docs1. The story and tech
of Read the Docs
Eric Holscher
http://ericholscher.com
Djangocon 2011
2. What this talk is
» Talk about the history of Read the Docs
» Technology Involved
» Interesting outcomes of openness
» Lessons learned
3. Who am I
» I come from Django
» Work at Urban Airship
» Like automating systems
4. Why I’m here
» Feedback
» Ideas
» Hopefully you’ll learn something too!
» Shameless self-promotion
14. Fully Open Source
» github.com/rtfd/readthedocs.org
» github.com/ericholscher/chef-django-example
» ericholscher.com/tag/chef-series/
16. Officially Hosted
» Celery
» Fabric
» Nose, py.test
» Virtualenv, Pip
» Django CMS
» Django Grapelli/Floppyforms/Sentry
» mod_wsgi (woo!)
31. Cname Support
» Request for docs.fabfile.org
» docs.fabfile.org -> fabric.readthedocs.org
» In middleware, resolve CNAME and determine
docs to serve.
» Cache it.
32. Architecture
+-----------+
| |
+-----| Varnish |------+
| +-----------+ |
| |
+---------+ +---------+
+-------------+ | | | | +--------------+
| |-----| Nginx | | Nginx |----| |
| File | +---------+ +---------+ | File |
| System | | | | System |
+-------------+ +---------+ +--------+ +---------+ +--------------+
| | | | | | | | | |
| +---------|Gunicorn |--|Postgres|--|Gunicorn |--------+ |
| +---------+ +--------+ +---------+ |
| | |
| | |
| +------------------+ |
| | | |
+---------------------| Build Server |-------------------+
| |
+------------------+
Notas do Editor \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n DB -> Django Template -> Sphinx Config -> Jinja Template \n \n \n \n \n \n \n \n \n \n \n \n \n \n