Skip to content

ENV Settings

はのちゃ(Shumpei Saiki) edited this page Oct 31, 2016 · 4 revisions

using environment variables

  • ENV['ALLOW_IP']

    • white-list of client ip address
  • ENV['PG_USER']

    • User name of postgresql
  • ENV['PG_PASSWORD']

    • Password of postgresql
  • ENV['QIITA_ACCESS_TOKEN']

    • Access token of Qiita:team
  • ENV['QIITA_TEAM_NAME']

    • Team name of Qiita:team
  • ENV['RAILS_ENV']

    • Rails environments(eg: development, staging, production)
  • ENV["SECRET_KEY_BASE"]

    • Secret key base, using on production env.
Clone this wiki locally