Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .env load logic #58

Closed
wants to merge 3 commits into from
Closed

Conversation

sebkuip
Copy link
Member

@sebkuip sebkuip commented Sep 3, 2022

Currently modmail uses load_dotenv to not rely on pipenv. Logviewer does not have this function. This update adds this load_dotenv along with changing logic in loading the mongo_uri to be more consistent. Including a clear exit message when no mongo_uri is found.

@sebkuip
Copy link
Member Author

sebkuip commented Sep 3, 2022

Whoops this somehow also includes some of my local changes for my own hosting. I'll close this and reopen with only the dotenv changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant