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

Add new environment variable for base URL and update code to use it #198

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Stevo-G-Swag
Copy link

  • main.py
    • Add initialization for the base URL from environment variables
    • Raise ValueError if BASE_URL is not found in environment variables
  • .env.example
    • Add BASE_URL environment variable
  • settings.py
    • Create a settings page to manage and edit environment variables dynamically
  • tests/
    • Add test functions to verify settings page and update settings functionality
  • pytest.ini
    • Add pytest configuration file to specify test discovery settings

* **main.py**
  - Add initialization for the base URL from environment variables
  - Raise ValueError if BASE_URL is not found in environment variables
* **.env.example**
  - Add BASE_URL environment variable
* **settings.py**
  - Create a settings page to manage and edit environment variables dynamically
* **tests/**
  - Add test functions to verify settings page and update settings functionality
* **pytest.ini**
  - Add pytest configuration file to specify test discovery settings
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