Skip to content

Commit 8fd7c6b

Browse files
committed
Remove .env.example file and update config.json with versioning; adjust display module to reflect new app version.
1 parent db2a9d3 commit 8fd7c6b

3 files changed

Lines changed: 4 additions & 15 deletions

File tree

.env.example

Lines changed: 0 additions & 12 deletions
This file was deleted.

config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"APP_NAME": "My Custom App",
3-
"APP_ENV": "development",
3+
"APP_VERSION": "1.0.0",
4+
"APP_ENV": "development",
45
"APP_DEBUG": true,
56
"APP_RESPONSE_NUMBER": 100,
67
"APP_MESSAGE": "Hello from the environment!",
78
"APP_LOGGING_LEVEL": "DEBUG"
8-
}
9+
}

modules/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def show_app_info(self):
2424
"""Display application information."""
2525
# Get basic app configuration
2626
app_name = helpers.get_config('app.name', 'Unknown App')
27-
app_version = helpers.get_config('app.version', '0.0.0')
27+
app_version = helpers.get_config('app.version', '1.0.0')
2828
app_env = helpers.get_config('app.env', 'unknown')
2929
app_debug = helpers.get_config('app.debug', False)
3030

0 commit comments

Comments
 (0)