タグ

ブックマーク / 12factor.net (2)

  • The Twelve-Factor App (日本語訳)

    III. 設定 設定を環境変数に格納する アプリケーションの 設定 は、デプロイ(ステージング、番、開発環境など)の間で異なり得る唯一のものである。設定には以下のものが含まれる。 データベース、Memcached、他のバックエンドサービスなどのリソースへのハンドル Amazon S3やTwitterなどの外部サービスの認証情報 デプロイされたホストの正規化されたホスト名など、デプロイごとの値 アプリケーションは時に設定を定数としてコード内に格納する。これはTwelve-Factorに違反している。Twelve-Factorは 設定をコードから厳密に分離すること を要求する。設定はデプロイごとに大きく異なるが、コードはそうではない。 アプリケーションがすべての設定をコードの外部に正しく分離できているかどうかの簡単なテストは、認証情報を漏洩させることなく、コードベースを今すぐにでもオープンソ

  • The Twelve-Factor App

    Introduction In the modern era, software is commonly delivered as a service: called web apps, or software-as-a-service. The twelve-factor app is a methodology for building software-as-a-service apps that: Use declarative formats for setup automation, to minimize time and cost for new developers joining the project; Have a clean contract with the underlying operating system, offering maximum portab

  • 1