並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 20 件 / 20件

新着順 人気順

dotenvの検索結果1 - 20 件 / 20件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

 dotenv20 javascript  development      dotenvdotenvx使  
  • 暗号化に対応した次世代dotenvツールdotenvxを使う

    特に一番最後の暗号化サポートは非常に嬉しい進化です。dotenv単体で環境変数を運用すると、秘匿情報が含まれたdotenvファイル自体の管理に困ることや、デプロイする際にどうやって環境変数を提供するかが課題になることがありました。 現代ではクラウドプラットフォーム上にシークレットマネージャーのような仕組みが用意され、そこで中央管理するというのが一般的になっているかと思います。ただ、それだと変数のバージョン管理やレビューの仕組みを別途用意しないといけなかったりと完全ではありません(個人的主観です)。 dotenvファイル自体が暗号化され、Gitでバージョン管理でき、そのままデプロイして環境変数を適用できたら運用の手間が一気に減ります。

      暗号化に対応した次世代dotenvツールdotenvxを使う
    • GitHub - dotenv-org/dotenv-vault: sync .env files—from the creator of `dotenv`.

      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 - dotenv-org/dotenv-vault: sync .env files—from the creator of `dotenv`.
      • GitHub - dotenvx/dotenvx: a better dotenv–from the creator of `dotenv`

        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 - dotenvx/dotenvx: a better dotenv–from the creator of `dotenv`
        • Flutterでdotenvを利用して環境変数を管理する方法 | DevelopersIO

          dotenvをインストール flutter_dotenvのパッケージをインストールします。 flutter pub add flutter_dotenv .envファイルを作成 環境変数を管理するためのファイルを作成します。 .env VAR_NAME ="dummyValue" ファイルをgitで管理しない場合は.gitignoreに追加しておきます。 .gitignore 〜〜〜 .env .envファイルをアセットに追加 Flutterアプリからファイルを読み込めるようにするために、pubspec.yamlのassetsへ.envファイルを追加します。 pubspec.yaml assets: - .env 環境変数を読み込み .envファイルをFlutterアプリで読み込みます。 lib/main.dart import 'package:flutter_dotenv/flutte

            Flutterでdotenvを利用して環境変数を管理する方法 | DevelopersIO
          • GitHub - dotenv-linter/dotenv-linter: ⚡️Lightning-fast linter for .env files. Written in Rust 🦀

            dotenv-linter can check / fix / compare .env files for problems that may cause the application to malfunction. Available checks: ✅ Duplicated key ✅ Ending blank line ✅ Extra blank line ✅ Incorrect delimiter ✅ Key without value ✅ Leading character ✅ Lowercase key ✅ Quote character ✅ Space character ✅ Substitution key ✅ Trailing whitespace ✅ Unordered key ✅ Value without quotes What is a .env file?

              GitHub - dotenv-linter/dotenv-linter: ⚡️Lightning-fast linter for .env files. Written in Rust 🦀
            • From dotenv to dotenvx: Next Generation Config Management

              ← back to blog Mot June 24, 2024 From dotenv to dotenvx: Next Generation Config Management The day after July 4th 🇺🇸, I wrote dotenv’s first commit and released version 0.0.1 on npm. It looked like this. In the 11 years since, it’s become one of the most depended-upon packages worldwide 🌎 – adjacent ubiquitous software like TypeScript and ESLint. It’s an example of “big things have small beginn

                From dotenv to dotenvx: Next Generation Config Management
              • 環境変数の代わりに .env ファイルを使用する (dotenv) | まくまくNode.jsノート

                dotenv モジュールとは Node.js のプログラムから環境変数を参照するには process.env を参照します。 参考: Node.js で環境変数を参照する (process.env) ユーザー設定を環境変数で行うようにしているアプリはよくあるのですが、たかが 1 つのアプリのために環境変数を設定するのは嫌だというユーザーは少なからずいます(設定がどこで行われているのかわかりにくいという理由もあります)。 dotenv モジュールを使用すると、カレントディレクトリに置かれた .env ファイルを読み込み、そこに記述されたキー&バリューのペアを process.env 経由で参照できるようになります。 dotenv - npm つまり、ユーザはアプリの設定を、従来通り環境変数で行うこともできるし、.env ファイルでも行うことができるようになります。 環境変数を使ってアプリの挙

                  環境変数の代わりに .env ファイルを使用する (dotenv) | まくまくNode.jsノート
                • 【Node】dotenvで環境変数を設定する - Qiita

                  概要 Nodeでプログラムを実行する時に環境(dev/stag/prodなど)ごとに値が異なる部分はコードを修正せずに実行するため環境変数として埋め込むことがよくあると思います セットする環境変数が1つ2つであればコマンド実行時に設定すればよいですが規模が大きくなってきたらファイルでまとめて定義したくなるでしょう そんな時はdotenvを使うと便利です dotenvを使うと.envファイルに定義された値を環境変数として使うことができます また、システムの環境変数として値が設定されていればそちらを優先して使うということもできます なので、開発時はローカルで.envを配置し、本番ではホスティングサービスの機能で環境変数として設定するといった使い方をすることでリポジトリ内のファイルを変更せずに実行することができます Nodeスクリプトの実行時にdotenvを使う場合 シンプルな形でいうとinde

                    【Node】dotenvで環境変数を設定する - Qiita
                  • Reactの環境変数をdotenv-cliで切り替えてみた | DevelopersIO

                    dotenv-cliを導入 dotenv-cliのパッケージをインストールして利用してみます。 dotenv-cliをインストール dotenv-cliのパッケージをインストールします。 npm install --save-dev dotenv-cli 環境変数のファイルを作成 プロジェクトのルートディレクトリに環境変数を定義するためのファイルを作成します。 ├ .env # ローカル環境 ├ .env.development # 開発環境 ├ .env.staging # 検証環境 ├ .env.production # 本番環境 各ファイルで環境変数を定義します。 .env REACT_APP_API_ENDPOINT=https://dev.example.com/v1/ .env.development REACT_APP_API_ENDPOINT=https://dev.exa

                      Reactの環境変数をdotenv-cliで切り替えてみた | DevelopersIO
                    • .env ファイルで環境変数を設定する (python-dotenv)


                      python-dotenv python-dotenv 使Python  .env  .env MYAPP_USER=maku MYAPP_PASS=makupass MYAPP_CONFIG=${HOME}/${MYAPP_USER}/config ${HOME}  OS .env  .env  Python  : Node
                        .env ファイルで環境変数を設定する (python-dotenv)
                      • python-dotenvを使って環境変数を設定する - Qiita

                        初めに APIのキーやDBのパスワードなどをべた書きするのはあまり良くないと教わり環境変数に入れる方法を考えた際にpython-dotenvを使うことにしました。 公式のgitはこちらです。 python-dotenvのインストールと.envファイル作成 インストール

                          python-dotenvを使って環境変数を設定する - Qiita
                        • Load environment variables from dotenv / .env file in Bash

                          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

                            Load environment variables from dotenv / .env file in Bash
                          • dotenvとcross-envで環境変数を設定して開発環境の処理を切り替える | Tips Note by TAM


                            GitPC  httpsbrowser-syncPCGit Google Maps APIAPIAPI 便env env OS
                              dotenvとcross-envで環境変数を設定して開発環境の処理を切り替える | Tips Note by TAM
                            • next.jsでdotenvで環境変数を設定するのは間違い!たった3分で環境変数を設定する方法 - Qiita

                              概要 ・next.jsでは「.env.local」ファイルで環境変数を設定できる。 ・クライアント側でも環境変数を設定したいときは接頭語に「NEXT_PUBLIC_」をつける ・開発環境は「.env.development」、本番環境は「.env.production」でそれぞれの環境変数を設定できる 環境変数を設定する(サーバー編) next.jsでは簡単に環境変数を変更する仕組みがあります。 ルートディレクトリに「.env.local」ファイルを置き、その中で定義した環境変数はアプリの中で使うことができます。 たとえば、開発環境と本番環境で異なるデータベースを使いますよね。そんな時に「.env.local」ファイルに設定すれば環境変数をアプリ内で利用できます。

                                next.jsでdotenvで環境変数を設定するのは間違い!たった3分で環境変数を設定する方法 - Qiita
                              • Dotenv is dead | François Best

                                This post could have ended here, but I’ll take this opportunity to pass the overtly click-baity title and talk about how I manage environment variables in my Node.js projects. There are several issues with reading directly from process.env: It’s not type safe It’s not validated It’s not immutable Type safety & validation I like to use Zod to parse and validate outside data in my applications, and

                                  Dotenv is dead | François Best
                                • [Python].envファイルで環境変数を設定する[python-dotenv] - Qiita


                                   PythonTips Python3  .env(main.py)  local/dev/test/productionvalue   python-dotenv使 python-dotenv(GitHub)
                                    [Python].envファイルで環境変数を設定する[python-dotenv] - Qiita
                                  • GitHub - fastify/env-schema: Validate your env variable using Ajv and dotenv

                                    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 - fastify/env-schema: Validate your env variable using Ajv and dotenv
                                    • Dotenv

                                      Works with a single command You don't need to install anything to use dotenv-vault. No error prone binaries to install, infra to maintain, or custom code to write. It just works – with a single command.

                                        Dotenv
                                      • Using dotenv with Jest

                                        I was looking for a convenient way to use the dotenv package in our Jest tests and it turns out there’s an easy way! The first and probably most obvious way is to just load dotenv in the jest setup file. However, most of our projects do not have a jest setup file and I wasn’t keen on adding a setup file just for loading dotenv. Here is how you would do it in the jest setup file: require('dotenv').

                                          Using dotenv with Jest
                                        • GitHub - kerimdzhanov/dotenv-flow: Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.

                                          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.

                                            GitHub - kerimdzhanov/dotenv-flow: Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
                                          1

                                          新着記事