17 lines
409 B
Python
17 lines
409 B
Python
#!/usr/bin/env python3
|
|
from ip_analyzer_app import create_app
|
|
|
|
app = create_app()
|
|
|
|
if __name__ == '__main__':
|
|
print('=' * 70)
|
|
print('IP WHOIS Analyzer - Starting')
|
|
print('=' * 70)
|
|
print()
|
|
print('Interface: http://localhost:8799')
|
|
print('API Docs: http://localhost:8799/api')
|
|
print()
|
|
print('Press Ctrl+C to stop')
|
|
print()
|
|
app.run(debug=True, host='0.0.0.0', port=8799)
|