Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit 8bb6df1

Browse files
committed
Add Startup Message
1 parent f459ac2 commit 8bb6df1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

libfreeiot/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
load_dotenv(find_dotenv(usecwd=True), override=True)
1515

1616
print('FreeIOT Version: %s' % version.__version__)
17+
print('Web Service: %s:%s' % (os.environ.get('APP_HOST'), os.environ.get('APP_PORT')))
18+
print('MongoDB Service: %s:%s/%s' % (os.environ.get('MONGO_HOST'), os.environ.get('MONGO_PORT'), os.environ.get('MONGO_DBNAME')))
1719

1820
scope = dict()
1921

libfreeiot/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"""
55

66
script_name = 'libfreeiot'
7-
__version__ = '0.9.15'
7+
__version__ = '0.9.16'

0 commit comments

Comments
 (0)