# HG changeset patch # User nanaya # Date 1734280974 -32400 # Node ID 7236c8864ad2cc243ffc12dc9c6297fdbe87c013 # Parent aaf58c17694b3f10bacd3b72b983af1975923c70 Remove ZP_ prefix from environment variable names diff -r aaf58c17694b -r 7236c8864ad2 config/config_init.rb --- a/config/config_init.rb Mon Dec 16 01:34:05 2024 +0900 +++ b/config/config_init.rb Mon Dec 16 01:42:54 2024 +0900 @@ -1,5 +1,5 @@ $cfg = {} -$cfg[:secret_key] = ENV["ZP_SECRET_KEY"] +$cfg[:secret_key] = ENV["SECRET_KEY"] env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development" config_local = File.expand_path("config_local_#{env}.rb", __dir__) diff -r aaf58c17694b -r 7236c8864ad2 config/config_local_env.rb.example --- a/config/config_local_env.rb.example Mon Dec 16 01:34:05 2024 +0900 +++ b/config/config_local_env.rb.example Mon Dec 16 01:42:54 2024 +0900 @@ -1,6 +1,6 @@ # Required: generate with `bundle exec secret` # # $cfg[:secret_key] = "FILL_IN_HERE" -# Or set environment variable ZP_SECRET_KEY +# Or set environment variable SECRET_KEY -# If you want to deploy with just environment variable, also set ZP_DATABASE_URL or DATABASE_URL. +# If you want to deploy with just environment variable, also set DATABASE_URL.