From 97e660f28ae523dfd02dd236ec1a20ade4e0d27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ce=C4=BEuch?= Date: Wed, 20 Mar 2024 12:53:03 +0100 Subject: [PATCH] add env file --- .env.sample | 2 +- Gemfile | 1 + Gemfile.lock | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.env.sample b/.env.sample index 321e391..29d08d9 100644 --- a/.env.sample +++ b/.env.sample @@ -1 +1 @@ -AVM_MICROSERVICE_HOST=http://localhost:7200 \ No newline at end of file +AVM_MICROSERVICE_HOST=localhost:7200 \ No newline at end of file diff --git a/Gemfile b/Gemfile index 3e2fb3c..213eb24 100644 --- a/Gemfile +++ b/Gemfile @@ -43,6 +43,7 @@ gem "base64" group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem gem "debug", platforms: %i[ mri windows ] + gem 'dotenv-rails' end group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 3297495..05bbc15 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -87,6 +87,10 @@ GEM debug (1.9.1) irb (~> 1.10) reline (>= 0.3.8) + dotenv (3.1.0) + dotenv-rails (3.1.0) + dotenv (= 3.1.0) + railties (>= 6.1) drb (2.2.0) ruby2_keywords erubi (1.12.0) @@ -217,6 +221,7 @@ DEPENDENCIES base64 bootsnap debug + dotenv-rails faraday jbuilder pg