Skip to content

Commit

Permalink
Add dotenv and config to bypass DSI
Browse files Browse the repository at this point in the history
  • Loading branch information
steventux committed Aug 1, 2023
1 parent baf87b0 commit 42051bd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
BYPASS_DSI=true
HOSTING_ENVIRONMENT=local
DFE_SIGN_IN_CLIENT_ID=checkchildrensbarredlist
DFE_SIGN_IN_REDIRECT_URL=http://localhost:3000/auth/dfe/callback
DFE_SIGN_IN_SECRET=override-locally
DFE_SIGN_IN_ISSUER=https://dev-oidc.signin.education.gov.uk
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ group :test do
end

group :test, :development do
gem "dotenv-rails"
gem "factory_bot_rails"
gem "launchy"
gem "pry-byebug"
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ GEM
irb (>= 1.5.0)
reline (>= 0.3.1)
diff-lcs (1.5.0)
dotenv (2.8.1)
dotenv-rails (2.8.1)
dotenv (= 2.8.1)
railties (>= 3.2)
e2mmap (0.1.0)
erubi (1.12.0)
factory_bot (6.2.1)
Expand Down Expand Up @@ -456,6 +460,7 @@ DEPENDENCIES
cssbundling-rails
cuprite
debug
dotenv-rails
factory_bot_rails
govuk-components
govuk_design_system_formbuilder
Expand Down

0 comments on commit 42051bd

Please sign in to comment.