harness demand •Easy to use for restaurants and guests •The latest technology •iPad app and website for managing the books •Restaurant profile site where you can make a reservation FOUNDED 15 MONTHS AGO •15 people •6 1/2 engineers •3 web devs Wednesday, May 16, 12
for buildout? •Vendor fork when necessary -own your packages -everything on github MAIN LIBRARIES •South for database migrations •Piston for REST API •Fabric for simple server commands •Glue for css sprites 8 Wednesday, May 16, 12
•django-storages + boto for S3 storage •sorl-thumbnail for thumbnails •django-guardian for per object permissions •django-compressor + pyScss for LESS •django-lazysignup for easier user API •django-longer-username for the obvious 9 Wednesday, May 16, 12
tag && git push ON EACH SERVER •Disconnect from LB •Create new symlinked folder from deploy timestamp •Git clone latest deploy tag •Bootstrap + buildout •collectstatic + migrate •Restart gunicorn + reconnect to LB 15 Wednesday, May 16, 12
for unstable code •Be careful about merging sprites + migrations FEATURE FLAGS •If features broken, turn them off automatically/without deploy •Minor usage right now, looking to expand DEPLOY EARLY •So you have the rest of the day to catch errors 16 Wednesday, May 16, 12
COLLECTSTATIC •Need to use CDN PIECEMEAL DEPLOYS •Different deploys for different servers TAR CODE DEPLOYMENT •Don’t need git history on the server •4x speed increase from full git clone 19 Wednesday, May 16, 12