Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Connection to PROD Db utilizing ENV variable #53

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

isaac-philip
Copy link
Contributor

  1. Implemented the value to be parsed into the databases settings.

  2. This value is parsed from the operating system environment variable
    DATABASE_URL

  3. Added information highlighting the usage in Readme.md

Resolves #16

Notes:

  1. python manage.py test works and results in 0
  2. dependency is the database to be functioning during debug=false(i.e. production)

Please let me know for any changes.

1. Implemented the value to be parsed into the databases settings.

2. This value is parsed from the operating system environment variable
  `DATABASE_URL`

3. Added information highlighting the usage in Readme.md

Resolves JBossOutreachArchive#16
Copy link
Collaborator

@aashutoshrathi aashutoshrathi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were errors while connecting DB this way.
@jatinkatyal13 Can you check if this PR works?

@jatinkatyal13
Copy link
Collaborator

@aashutoshrathi Yeah there were errors in the production but on my local machine it works like a charm ! Lets try this PR in a staging app and if it works we'll promote it to the production!

1. Implemented the value to be parsed into the databases settings.

2. This value is parsed from the operating system environment variable
  `DATABASE_URL`

3. Added information highlighting the usage in Readme.md

4. Placed necessary Environment Variable `DATABASE_URL` in .travis.yml for CI

Resolves JBossOutreachArchive#16
Copy link
Collaborator

@aashutoshrathi aashutoshrathi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding it to queue

@isaac-philip
Copy link
Contributor Author

Hello maintainers, any pending activity for this to be merged ?

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

Successfully merging this pull request may close these issues.

3 participants