Move database details to a .env file #29

Closed
opened 3 years ago by youainti · 3 comments
youainti commented 3 years ago (Migrated from gitea.kgjk.icu)

I use database connection details in a lot of places (database docker, python scripts etc). Most of these should be able to use a .env file.

  • Setup .env file for docker
  • Integrate .env file in python scripts
  • Add to readme
I use database connection details in a lot of places (database docker, python scripts etc). Most of these should be able to use a .env file. - [x] Setup .env file for docker - [x] Integrate .env file in python scripts - [x] Add to readme
youainti commented 3 years ago (Migrated from gitea.kgjk.icu)
https://dev.to/jakewitcher/using-env-files-for-environment-variables-in-python-applications-55a1
youainti commented 3 years ago (Migrated from gitea.kgjk.icu)

Still need a demo version of the .env file, but it works great.

Still need a demo version of the .env file, but it works great.
youainti commented 3 years ago (Migrated from gitea.kgjk.icu)

Added notes to README.md.

Added notes to README.md.
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: youainti/ClinicalTrialsDataProcessing#29
Loading…
There is no content yet.