Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Document USE_LDAP and ignore .env #1104

Closed
@orenyk

Description

@orenyk

I realized that I left out the USE_LDAP environment variable when I set up .env.example. We're also tracking the .env file in Git, which isn't really good practice. Therefore, we should do the following:

  • document USE_LDAP in .env.example
  • document USE_LDAP in the configuration wiki page
  • document LDAP stuff in the Heroku wiki page
  • properly ignore .env
  • move USE_LDAP to secrets.yml?
  • move CAS_AUTH to secrets.yml?

The last two point occurred to me as I thought about removing the .env file... to be honest, we shouldn't really need to copy both a secrets.yml file and a .env file to run the app locally. I'm happy to use a Rails secret for both instead of the raw environment variables, any thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions