flask - FlaskBootstrapSecurity - basic clone does not work -


i tring startup basic flaskbootstrapsecurity app dev environment (ubuntu server).

  1. cloned git
  2. did pip install requirements
  3. i edited config.py user id's (see below)
  4. 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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -