タグ

foremanに関するudzuraのブックマーク (4)

  • GitHub - ddollar/forego: Foreman in Go

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - ddollar/forego: Foreman in Go
    udzura
    udzura 2013/09/06
    これすごそう。。。Windowsでも動く
  • #281 Foreman - RailsCasts

    Ryan Batesが最近Twitterで、Railsアプリケーションの開発モード(development mode)で、依存するバックグラウンドプロセスを管理する最善の方法は何かと質問を投げかけました。何人かがForemanを推奨していたので、今回のエピソードで紹介します。 例えばRyanのGoVsGoアプリケーションを開発に利用するには、事前にいくつかのバックグラウンドプロセスを起動する必要があります。この中には、Beanstalkd、script/workerプロセス、Fayeサーバが含まれます。開発でこのアプリケーションを使用するたびに、これらすべての起動作業が発生します。これらのプロセスすべてを簡単に管理する方法があればとても便利でしょう。そこでForemanの登場です。 Foremanのインストールと使用 Foremanはgemの形で提供され、通常の方法でインストールします。

  • HerokuでEnv使う - r7kamura's Hakolog

    heroku config:add API用のSecret Key等をファイルに普通に記述すると、GitHub等にpushしたい時に公開されてしまう。 Herokuでそういう値を保存したいときには、下記のコマンドで環境変数を設定できる。 $ heroku config:add FOO=bar $ heroku console 'ENV["FOO"]' bar .env Herokuはforemanの機能を利用しており、/path/to/root/.envの値も環境変数に設定してくれる。 ローカルで開発する場合でもformanを使えば.envを環境変数に設定してくれるが、foremanのコマンドでRailsを起動する場合はirbやpryが上手く動かなくなるので、ローカルではforemanを使わずに普通に起動した方がいいと思う。 .envを見てENVを設定するスクリプトを、/path/to/i

    udzura
    udzura 2012/05/17
    これは真似したい感じある
  • Introducing Foreman - David Dollar

    Lately I've noticed my web apps are getting complicated to run. My apps no longer consist of a single web process; I usually have have one or more types of background workers to run different types of jobs and a clock process to handle scheduling. Splitting an app up in this way is great for performance and scalability. The downside, however, is that it becomes much more complicated to get the app

    udzura
    udzura 2012/01/30
    ヘロク風Procfileをみんなのサーバで使えるってことかな
  • 1