flask - FlaskBootstrapSecurity - basic clone does not work -
i tring startup basic flaskbootstrapsecurity app dev environment (ubuntu server).
- cloned git
- did pip install requirements
- i edited config.py user id's (see below)
- modified manage.py start server host='0.0.0.0'.
then python manage.py runserver , says running on http://0.0.0.0:5000/ [in venv/lib/python3.4/site-packages/werkzeug/_internal.py:87]
on browser (laptop) when try server_name:5000 404.
i've figured out in log function (line 87). stuck...
any appreciated.
i cloned $home/dev dir such that...
$home/dev/flashbootstrapsecurity/flask_application i want use blueprint plugin , security features... finding hard setup ... more 3 days , have reverted basic clone working... no luck.
myid = 'myid@gmail.com' mypw = '***' # customized myapp - these inserted config object myapp_sys_admins = myid myapp_mail_username = myid myapp_mail_password = mypw myapp_security_email_sender = 'security < '+myid+' >' ### not touch below class config(object): def __init__(self):
the issue in /etc/hosts had 127.0.1.1 server hostname. changing nic ip address solved problem.
Comments
Post a Comment