All slide content and descriptions are owned by their creators. 続きを読む
Chefに挫折したあなたへ。Fabricのすすめ March 10 2013 サーバ設定作業は面倒で間違いを犯しやすいため、Chef/Puppetなどのツールで自動化したいと考えている方は多いと思います。 私もそのような理由からChef(-solo)を習得しようと試行錯誤していました。 そ... 続きを読む
Context Managers¶ Context managers for use with the with statement. Note When using Python 2.5, you will need to start your fabfile with from __future__ import with_statement in order to make use of the with statement (which is a regular, non... 続きを読む
modwsgi上のコードから実行したりとかで怒られた。 err: sudo: sorry, you must have a tty to run sudo Fatal error: sudo() encountered an error (return code 1) while executing '/foo/bar/command' Aborting. sudoにptyオプションを指定して解決。 sudo('... 続きを読む
Fabric: A Capistrano Alternative - Presentation Transcript Fabric - A Lightweight Deployment Tool for Rubyists and Pythonists Alike Mike Leone - Panoptic Development, Inc Why Fabric? Capistrano is elegant, powerful, extensible but... Too many... 続きを読む
Fabric Engine brings compiled, multi-threaded performance to scripted languages like JavaScript, Ruby and Python.Modern hardware means that every developer has to be able to write multi-threaded code if they want performance. Fabric Engine ma... 続きを読む
You need fabric (fabfile.org) installed to make this work. To start/stop the masters, run: $ fab masters {start|stop} To start/stop the slaves, run: $ fab slaves {start|stop} The masters file and the slaves file now can use any of the followi... 続きを読む
Instagram のスケールアップ正攻法 By Kosei Kitahara At 13:43:00 Instagram がどこに買収されたとかは他のニュースサイトにお任せして、Django アプリケーションを正攻法でスケールアップして "成功" してるのがとても興味深いです。現時点で Instagram Engin... 続きを読む
Fabric, Cuisine and Watchdog for server administration in Python 8 hours ago Loading… Flash Player 9 (or above) is needed to view presentations. We have detected that you do not have it on your computer. To install it, go here. Fabric, Cuisi... 続きを読む
Will Larson's blog about programming and other things.Yesterday I wrote briefly about my development to deployment pipeline, and I very briefly mentioned Fabric, which is a Capistrano-like tool written in Python that helps remove mindless rep... 続きを読む
SaltyCrane Blog Notes on Python, Django, and web development on Ubuntu Linux Fabric is a Python package used for deploying websites or generally running commands on a remote server. I first used Fabric about a year ago and thought it was grea... 続きを読む
In the jargon of the computer programmer, a hacker is someone who strives to solve problems in elegant and ingenious ways. Part of the path to elegantly solving larger problems is to use tools that solve sub-problems very well. For the modern... 続きを読む
Python, fabricfabfile.pyって、task数個までならまあ1ファイルでいいんですが、それ以上増えてくるとスクリプト自体がカオスになって収集がつかなくなります。更に似たような、けど微妙に違うtaskをいっぱい定義したりすると名前まで酷くなってきます。こんな... 続きを読む
Fabric は指定したコマンドを各ホストで実行する実行モデルです。この場合は特にホストの指定がなかったので、全部ローカルで、一回実行することになります。 これは結構つまんないので、本当の例を見ましょう。これは最近、仕事で作ったコマンドです。 nginx ... 続きを読む
Python版のCapistranoと言われて久しいFabricだけど、ドキュメント通りにやっても全く動かなかった経験があるのでずっとスルーしてきた。http://pypi.python.org/pypi/Fabric/0.9rc1http://docs.fabfile.org/0.9/PyPIに上がっている0.9というバージョンは、まず... 続きを読む