Skip to content

Commit

Permalink
Add Startup Message
Browse files Browse the repository at this point in the history
  • Loading branch information
noahziheng committed Jun 30, 2018
1 parent f459ac2 commit 8bb6df1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libfreeiot/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
load_dotenv(find_dotenv(usecwd=True), override=True)

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

scope = dict()

Expand Down
2 changes: 1 addition & 1 deletion libfreeiot/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"""

script_name = 'libfreeiot'
__version__ = '0.9.15'
__version__ = '0.9.16'

0 comments on commit 8bb6df1

Please sign in to comment.