EN This is simpler and more flexible than ‘config/abby-dev.js’, ‘config/brian-dev.js’, ‘config/qa1.js’, ‘config/qa2.js’, ‘config/prod.js’, etc.
EN This is simpler and more flexible than ‘config/abby-dev.js’, ‘config/brian-dev.js’, ‘config/qa1.js’, ‘config/qa2.js’, ‘config/prod.js’, etc.
JA これは ‘config/abby-dev.js'、'config/brian-dev.js'、'config/qa1.js'、'config/qa2.js'、'config/prod.js’ などよりもシンプルで柔軟性があります。
Transliterācija koreha ‘config/abby-dev.js'、'config/brian-dev.js'、'config/qa1.js'、'config/qa2.js'、'config/prod.js’ nadoyorimoshinpurude róu ruǎn xìnggaarimasu。
Angļu | Japāņi |
---|---|
js | js |
EN This is simpler and more flexible than ‘config/abby-dev.js’, ‘config/brian-dev.js’, ‘config/qa1.js’, ‘config/qa2.js’, ‘config/prod.js’, etc.
JA これは ‘config/abby-dev.js'、'config/brian-dev.js'、'config/qa1.js'、'config/qa2.js'、'config/prod.js’ などよりもシンプルで柔軟性があります。
Transliterācija koreha ‘config/abby-dev.js'、'config/brian-dev.js'、'config/qa1.js'、'config/qa2.js'、'config/prod.js’ nadoyorimoshinpurude róu ruǎn xìnggaarimasu。
Angļu | Japāņi |
---|---|
js | js |
EN Below is the config.yml file that defines this project’s pipeline. In the following sections I’ll explain the various element of this config.yml file.
JA 以下は、このプロジェクトのパイプラインを定義する config.yml ファイルです。次のセクションでは、この config.yml ファイルのさまざまな要素について説明します。
Transliterācija yǐ xiàha、konopurojekutonopaipurainwo dìng yìsuru config.yml fairudesu。cìnosekushondeha、kono config.yml fairunosamazamana yào sùnitsuite shuō míngshimasu。
EN In addition to using the pg gem, ensure that your config/database.yml file is using the postgresql adapter. The development section of your config/database.yml file should look something like this:
JA pg gem の使用に加えて、config/database.yml ファイルで postgresql アダプターが使用されていることも確認します。config/database.yml ファイルの開発セクションの外観は次のようになります。
Transliterācija pg gem no shǐ yòngni jiāete、config/database.yml fairude postgresql adaputāga shǐ yòngsareteirukotomo què rènshimasu。config/database.yml fairuno kāi fāsekushonno wài guānha cìnoyouninarimasu。
Angļu | Japāņi |
---|---|
postgresql | postgresql |
EN This command executes a generate-pipeline-config bash script that generates a new pipeline config file that needs two arguments:
JA このコマンドは、generate-pipeline-config という bash スクリプトを実行します。このスクリプトが、以下 2 つの引数を必要とする新しいパイプライン設定ファイルを生成します。
Transliterācija konokomandoha、generate-pipeline-config toiu bash sukuriputowo shí xíngshimasu。konosukuriputoga、 yǐ xià 2 tsuno yǐn shùwo bì yàotosuru xīnshiipaipurain shè dìngfairuwo shēng chéngshimasu。
Angļu | Japāņi |
---|---|
two | 2 |
EN Sometimes you may want to use the same config var in both local and Heroku environments. For each config var that you want to add to your .env file, use the following command:
JA ローカル環境と Heroku 環境の両方で同じ環境設定を使用したい場合があります。 .env ファイルに追加する環境設定ごとに、次のコマンドを使用します。
Transliterācija rōkaru huán jìngto Heroku huán jìngno liǎng fāngde tóngji huán jìng shè dìngwo shǐ yòngshitai chǎng hégaarimasu。 .env fairuni zhuī jiāsuru huán jìng shè dìnggotoni、 cìnokomandowo shǐ yòngshimasu。
EN Sometimes you may want to use the same config var in both local and Heroku environments. For each config var that you want to add to your .env file, use the following command:
JA ローカル環境と Heroku 環境の両方で同じ環境設定を使用したい場合があります。 .env ファイルに追加する環境設定ごとに、次のコマンドを使用します。
Transliterācija rōkaru huán jìngto Heroku huán jìngno liǎng fāngde tóngji huán jìng shè dìngwo shǐ yòngshitai chǎng hégaarimasu。 .env fairuni zhuī jiāsuru huán jìng shè dìnggotoni、 cìnokomandowo shǐ yòngshimasu。
EN View the config vars that are set using heroku config:
JA heroku config を使って設定した環境設定を表示します。
Transliterācija heroku config wo shǐtte shè dìngshita huán jìng shè dìngwo biǎo shìshimasu。
EN This creates a database, and sets a DATABASE_URL config var (you can check by running heroku config).
JA このコマンドによりデータベースが作成され、DATABASE_URL 環境設定が設定されます (heroku config を実行すると確認できます)。
Transliterācija konokomandoniyoridētabēsuga zuò chéngsare、DATABASE_URL huán jìng shè dìngga shè dìngsaremasu (heroku config wo shí xíngsuruto què rèndekimasu)。
EN Back up your config files Back up your config files
JA 設定ファイルをバック アップ 設定ファイルをバック アップ
Transliterācija shè dìngfairuwobakku appu shè dìngfairuwobakku appu
EN The heroku rollback command creates a new release. This release copies the compiled slug and config vars (including add-on-related config vars) of the release you are rolling back to.
JA heroku rollback コマンドは新しいリリースを作成します。このリリースは、ロールバック先のリリースのコンパイル済み slug と環境設定 (アドオン関連の環境設定を含む) をコピーします。
Transliterācija heroku rollback komandoha xīnshiirirīsuwo zuò chéngshimasu。konorirīsuha,rōrubakku xiānnorirīsunokonpairu jìmi slug to huán jìng shè dìng (adoon guān liánno huán jìng shè dìngwo hánmu) wokopīshimasu。
EN Once the attachment is created, we can see the extra alias in heroku addons and the new config vars added as a result with heroku config:
JA アタッチメントが作成されたら、追加のエイリアスを heroku addons で、 結果として追加された新しい環境設定を heroku config で確認できます。
Transliterācija atatchimentoga zuò chéngsaretara、 zhuī jiānoeiriasuwo heroku addons de、 jié guǒtoshite zhuī jiāsareta xīnshii huán jìng shè dìngwo heroku config de què rèndekimasu。
EN If you’d like the config to run right away, click on the name of the config from the main page.
JA 構成をすぐに実行したい場合は、メイン ページにてその構成名をクリックします。
Transliterācija gòu chéngwosuguni shí xíngshitai chǎng héha,mein pējinitesono gòu chéng míngwokurikkushimasu。
EN To view all of your app’s config vars, type heroku config.
JA アプリのすべての環境設定を表示するには、「heroku config」と入力します。
Transliterācija apurinosubeteno huán jìng shè dìngwo biǎo shìsuruniha、「heroku config」to rù lìshimasu。
EN View the app’s config vars using heroku config to verify you’ve done it correctly:
JA heroku config を使用してアプリの環境設定を表示し、正しく操作したことを確認します。
Transliterācija heroku config wo shǐ yòngshiteapurino huán jìng shè dìngwo biǎo shìshi、 zhèngshiku cāo zuòshitakotowo què rènshimasu。
EN View the config vars that are set using heroku config:
JA heroku config を使って設定した環境設定を表示します。
Transliterācija heroku config wo shǐtte shè dìngshita huán jìng shè dìngwo biǎo shìshimasu。
EN This creates a database, and sets a DATABASE_URL config var (you can check by running heroku config).
JA このコマンドによりデータベースが作成され、DATABASE_URL 環境設定が設定されます (heroku config を実行すると確認できます)。
Transliterācija konokomandoniyoridētabēsuga zuò chéngsare、DATABASE_URL huán jìng shè dìngga shè dìngsaremasu (heroku config wo shí xíngsuruto què rèndekimasu)。
EN View the app’s config vars using heroku config to verify you’ve done it correctly:
JA heroku config を使用してアプリの環境設定を表示し、正しく操作したことを確認します。
Transliterācija heroku config wo shǐ yòngshiteapurino huán jìng shè dìngwo biǎo shìshi、 zhèngshiku cāo zuòshitakotowo què rènshimasu。
EN The heroku rollback command creates a new release. This release copies the compiled slug and config vars (including add-on-related config vars) of the release you are rolling back to.
JA heroku rollback コマンドは新しいリリースを作成します。このリリースは、ロールバック先のリリースのコンパイル済み slug と環境設定 (アドオン関連の環境設定を含む) をコピーします。
Transliterācija heroku rollback komandoha xīnshiirirīsuwo zuò chéngshimasu。konorirīsuha,rōrubakku xiānnorirīsunokonpairu jìmi slug to huán jìng shè dìng (adoon guān liánno huán jìng shè dìngwo hánmu) wokopīshimasu。
EN Once the attachment is created, we can see the extra alias in heroku addons and the new config vars added as a result with heroku config:
JA アタッチメントが作成されたら、追加のエイリアスを heroku addons で、 結果として追加された新しい環境設定を heroku config で確認できます。
Transliterācija atatchimentoga zuò chéngsaretara、 zhuī jiānoeiriasuwo heroku addons de、 jié guǒtoshite zhuī jiāsareta xīnshii huán jìng shè dìngwo heroku config de què rèndekimasu。
EN The .profile script will be sourced after the app’s config vars. To have the config vars take precedence, use a technique like that shown here with LANG.
JA .profile スクリプトは、アプリの環境設定の後に調達されます。環境設定が優先されるようにするには、以下で LANG で行われているのと同様のテクニックを使用します。
Transliterācija .profile sukuriputoha,apurino huán jìng shè dìngno hòunidiào dásaremasu。huán jìng shè dìngga yōu xiānsareruyounisuruniha、 yǐ xiàde LANG de xíngwareteirunoto tóng yàngnotekunikkuwo shǐ yòngshimasu。
EN The heroku config commands of the Heroku CLI makes it easy to manage your app’s config vars.
JA Heroku CLI の heroku config コマンドを使用すると、アプリの環境設定を簡単に管理できます。
Transliterācija Heroku CLI no heroku config komandowo shǐ yòngsuruto,apurino huán jìng shè dìngwo jiǎn dānni guǎn lǐdekimasu。
EN Config vars are exposed to your app’s code as environment variables. For example, in Node.js you can access your app’s DATABASE_URL config var with process.env.DATABASE_URL.
JA 環境設定は、アプリのコードでは環境変数として示されます。たとえば、Node.js では、process.env.DATABASE_URL でアプリの DATABASE_URL 環境設定にアクセスできます。
Transliterācija huán jìng shè dìngha,apurinokōdodeha huán jìng biàn shùtoshite shìsaremasu。tatoeba、Node.js deha、process.env.DATABASE_URL deapurino DATABASE_URL huán jìng shè dìngniakusesudekimasu。
Angļu | Japāņi |
---|---|
js | js |
EN To view all of your app’s config vars, type heroku config.
JA アプリのすべての環境設定を表示するには、「heroku config」と入力します。
Transliterācija apurinosubeteno huán jìng shè dìngwo biǎo shìsuruniha、「heroku config」to rù lìshimasu。
EN By default, Rails sets this to nil, but make sure that config.action_dispatch.x_sendfile_header is not set in config/enviroments/production.rb.
JA デフォルトでは、Rails はこれを nil に設定しますが、config.action_dispatch.x_sendfile_header が config/enviroments/production.rb で設定されていないことを確認してください。
Transliterācija deforutodeha、Rails hakorewo nil ni shè dìngshimasuga、config.action_dispatch.x_sendfile_header ga config/enviroments/production.rb de shè dìngsareteinaikotowo què rènshitekudasai。
EN In all cases, you must create an org.redisson.config.Config object in your Java code like this:
JA いずれの場合も、次のように、Java コードで org.redisson.config.Config オブジェクトを作成する必要があります。
Transliterācija izureno chǎng hémo、 cìnoyouni、Java kōdode org.redisson.config.Config obujekutowo zuò chéngsuru bì yàogaarimasu。
EN This creates a PostgreSQL database for your app and adds a DATABASE_URL config var that contains its URL. To use this database, configure it like so in config/database.php:
JA アプリ用の PostgreSQL データベースが作成され、その URL を含む DATABASE_URL 環境設定が追加されます。このデータベースを使用するには、config/database.php で次のように設定します。
Transliterācija apuri yòngno PostgreSQL dētabēsuga zuò chéngsare、sono URL wo hánmu DATABASE_URL huán jìng shè dìngga zhuī jiāsaremasu。konodētabēsuwo shǐ yòngsuruniha、config/database.php de cìnoyouni shè dìngshimasu。
Angļu | Japāņi |
---|---|
postgresql | postgresql |
url | url |
php | php |
EN You can remove the config vars by unsetting any you wish to remove. Here we remove all config vars set by this feature:
JA 削除対象をすべて設定解除することによって、環境設定を削除できます。ここでは、この機能によって設定されたすべての環境設定を削除します。
Transliterācija xuē chú duì xiàngwosubete shè dìng jiě chúsurukotoniyotte、 huán jìng shè dìngwo xuē chúdekimasu。kokodeha、kono jī néngniyotte shè dìngsaretasubeteno huán jìng shè dìngwo xuē chúshimasu。
EN PSpell\Config — The PSpell\Config class
JA PSpell\Config — PSpell\Config クラス
Transliterācija PSpell\Config — PSpell\Config kurasu
EN To check the moviesSorted.xls file, navigate to the folder in which the file was created and open the file. The file with the sorted data will be displayed.
JA moviesSorted.xlsファイルをチェックするには、ファイルが作成されたフォルダーに移動してファイルを開きます。ソートされたデータを含むファイルが表示されます。
Transliterācija moviesSorted.xlsfairuwochekkusuruniha,fairuga zuò chéngsaretaforudāni yí dòngshitefairuwo kāikimasu.sōtosaretadētawo hánmufairuga biǎo shìsaremasu。
EN Yes. You need to have writing access to the wp-config.php file (usually residing in the root directory of your WordPress installation).
JA はい。wp-config.php ファイル (通常は WordPress インストールのルートディレクトリに存在する) への書き込みアクセス権が必要です。
Transliterācija hai。wp-config.php fairu (tōng chángha WordPress insutōrunorūtodirekutorini cún zàisuru) heno shūki yūmiakusesu quánga bì yàodesu。
Angļu | Japāņi |
---|---|
php | php |
wordpress | wordpress |
EN To enable these options, add the following code to your wp-config.php file:
JA これらのオプションを有効にするには、wp-config.php ファイルに次のコードを追加します。
Transliterācija koreranoopushonwo yǒu xiàonisuruniha、wp-config.php fairuni cìnokōdowo zhuī jiāshimasu。
Angļu | Japāņi |
---|---|
php | php |
EN A seamless user experience leads to fewer vulnerabilities, because no one’s tempted to store secrets in an insecure config file.
JA シームレスなユーザーエクスペリエンスが、セキュリティ保護されていない構成ファイルに機密情報を保存しようとするユーザーをなくし、脆弱性の減少に大きく貢献します。
Transliterācija shīmuresunayūzāekusuperiensuga,sekyuriti bǎo hùsareteinai gòu chéngfairuni jī mì qíng bàowo bǎo cúnshiyoutosuruyūzāwonakushi、 cuì ruò xìngno jiǎn shǎoni dàkiku gòng xiànshimasu。
EN You can configure the agent by editing your newrelic.js config file, or by setting an environment variable.
JA newrelic.js設定ファイルを編集するか、環境変数を設定することで、エージェントを設定できます。
Transliterācija newrelic.js shè dìngfairuwo biān jísuruka、 huán jìng biàn shùwo shè dìngsurukotode,ējentowo shè dìngdekimasu。
Angļu | Japāņi |
---|---|
js | js |
EN Add the following to your ProGuard config file (proguard.cfg, proguard-android.txt, proguard-rules.pro, etc.):
JA 以下をProGuard設定ファイル(proguard.cfg、proguard-android.txt、proguard-rules.pro、など)に追加します。
Transliterācija yǐ xiàwoProGuard shè dìngfairu(proguard.cfg、proguard-android.txt、proguard-rules.pro、nado)ni zhuī jiāshimasu。
Angļu | Japāņi |
---|---|
txt | txt |
EN Next you will need to convert your config/database.yml. Open the existing file, which might look something like this:
JA 次に、config/database.yml を変換する必要があります。既存のファイルを開くと、次のような内容が表示されます。
Transliterācija cìni、config/database.yml wo biàn huànsuru bì yàogaarimasu。jì cúnnofairuwo kāikuto、 cìnoyouna nèi róngga biǎo shìsaremasu。
EN Once you’ve installed the pg gem and migrated your config/database.yml file you will need to create your database and run any pre existing migrations against it:
JA pg gem をインストールし、config/database.yml ファイルを移行したたら、データベースを作成し、それに対して既存の移行をすべて実行する必要があります。
Transliterācija pg gem woinsutōrushi、config/database.yml fairuwo yí xíngshitatara,dētabēsuwo zuò chéngshi、soreni duìshite jì cúnno yí xíngwosubete shí xíngsuru bì yàogaarimasu。
EN Declarative YAML configuration for all features, defined in a single config.yml file
JA すべての機能について、宣言型の YAML 形式の構成を 1 つの config.yml ファイルで定義
Transliterācija subeteno jī néngnitsuite、 xuān yán xíngno YAML xíng shìno gòu chéngwo 1 tsuno config.yml fairude dìng yì
EN In this post, I will walk you through how to implement dynamic configuration by creating a config file that is not in the root configuration folder.
JA このブログ記事では、設定ファイル フォルダーの外に設定ファイルを用意しておくことで、ダイナミック コンフィグを実装する方法について説明します。
Transliterācija konoburogu jì shìdeha、 shè dìngfairu forudāno wàini shè dìngfairuwo yòng yìshiteokukotode,dainamikku konfiguwo shí zhuāngsuru fāng fǎnitsuite shuō míngshimasu。
EN Next, I will show you how to use dynamic configuration to execute a separate config file using scripts.
JA 次に、スクリプトを使用して、ダイナミック コンフィグによって別の設定ファイルを実行します。
Transliterācija cìni,sukuriputowo shǐ yòngshite,dainamikku konfiguniyotte biéno shè dìngfairuwo shí xíngshimasu。
EN Tearing down the generate-pipeline-config file
JA generate-pipeline-config ファイルの内容
Transliterācija generate-pipeline-config fairuno nèi róng
EN This adds the following section to your project’s .git/config file:
JA これにより、プロジェクトの .git/config ファイルに次のセクションが追加されます。
Transliterācija koreniyori,purojekutono .git/config fairuni cìnosekushonga zhuī jiāsaremasu。
Angļu | Japāņi |
---|---|
git | git |
EN Open the config\database.yml file and set the username and password for your local (development) database. Look for these line:
JA config\database.yml ファイルを開き、ローカル (開発) データベースのユーザー名とパスワードを設定します。次の行を探します。
Transliterācija config\database.yml fairuwo kāiki,rōkaru (kāi fā) dētabēsunoyūzā míngtopasuwādowo shè dìngshimasu。cìno xíngwo tànshimasu。
EN Locate the Admin workspace for your Control Center configuration—you’ll know you’re in the right place if you see the SCC Config file folder in the workspace.
JA Control Center の構成用の管理者ワークスペースを開きます (ワークスペースに SCC 構成ファイル フォルダーが表示されているはずです)。
Transliterācija Control Center no gòu chéng yòngno guǎn lǐ zhěwākusupēsuwo kāikimasu (wākusupēsuni SCC gòu chéngfairu forudāga biǎo shìsareteiruhazudesu)。
EN Copy Heroku config vars to your local .env file
JA ローカルの .env ファイルに Heroku 環境設定をコピーする
Transliterācija rōkaruno .env fairuni Heroku huán jìng shè dìngwokopīsuru
EN Add a config var to your .env file
JA .env ファイルに環境設定を追加する
Transliterācija .env fairuni huán jìng shè dìngwo zhuī jiāsuru
EN To add a config var to your .env file, edit it and add a new name=value pair on a new line.
JA .env ファイルに環境設定を追加するには、そのファイルを編集し、新しい行に新しい name=value のペアを追加します。
Transliterācija .env fairuni huán jìng shè dìngwo zhuī jiāsuruniha、sonofairuwo biān jíshi、 xīnshii xíngni xīnshii name=value nopeawo zhuī jiāshimasu。
EN Config Validator – adds a test item to detect invalid file attachment settings.
JA 設定検証 ? 無効なファイル添付設定を検出するテスト項目を追加。
Transliterācija shè dìng jiǎn zhèng ? wú xiàonafairu tiān fù shè dìngwo jiǎn chūsurutesuto xiàng mùwo zhuī jiā。
EN Generate data movers, PS code, config file
JA データ ムーバー、PS コード、コンフィギュレーション ファイルを生成する
Transliterācija dēta mūbā,PS kōdo,konfigyurēshon fairuwo shēng chéngsuru
EN In file config/routes.rb, on line 2 add:
JA ファイル config/routes.rb の 2 行目に以下を追加します。
Transliterācija fairu config/routes.rb no 2 xíng mùni yǐ xiàwo zhuī jiāshimasu。
Rāda 50 no 50 tulkojumiem