You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After one reads tutorial.login2bootstrap one is not clear on how to apply this tutorial to a real example in two ways:
How to configure an SMTP Server
What URLs are available in the pre-baked user interface.
The current state of documentation on how to configure an SMTP server
The relevant config files and settings to configure a live production login system are not mentioned.
However, the dangerous setting warnings help:
WARNING:reahl.component.config:reahlsystem.debug in etc\reahl.config.py is using a dangerous default setting: True
WARNING:reahl.component.config:reahlsystem.root_egg in etc\reahl.config.py is using a dangerous default setting: login2bootstrap
WARNING:reahl.component.config:mail.smtp_port in etc\mailutil.config.py is using a dangerous default setting: 8025
WARNING:reahl.component.config:web.static_root in etc\web.config.py is using a dangerous default setting: c:\prg\login2bootstrap
WARNING:reahl.component.config:accounts.admin_email in etc\systemaccountmodel.config.py is using a dangerous default setting: admin@example.com
But these warnings are inaccurate because the files that it says the settings are coming from do not exist. But the inaccurate warnings are a godsend because I could not find any docs on configuring smtp in reahl.
After some code search, I realized I need to create a mailutil.config.py file to configure the smtp server's port and host. But there are no docs to this effect making it impossible for a developer to figure out how to do it without searching the code.
A catalog of the URLs available for pre-baked user login and registration is needed
The tutorial example, when configured with a real SMTP server sends me an email with a code. But neither the email or the ui provide a way for me to enter this key and login. The AccountUI docs mention a few more URLs but not the /verify one.
This makes a person trying to transition from the tutorial to real code confused about how to get verified.
The text was updated successfully, but these errors were encountered:
metaperl
changed the title
The transition from tutorial.login2bootstrap to actual code
The transition from tutorial.login2bootstrap to realistic code
Nov 12, 2018
metaperl
changed the title
The transition from tutorial.login2bootstrap to realistic code
Smooth the transition from tutorial.login2bootstrap to realistic registration code
Nov 12, 2018
The config does not exist issue has been discussed here:
It assumes default settings when the file is not there, or when the specific setting is not set in the file. So, to fix, you just need to create the config file and specify that setting.
I am aware that some software provides a config file with all default settings commented out. To keep our source code and examples lean, we do not do it.
Agreed, I think it requires some more documentation
We have a number of TODO items for this:
As I understand it, we have omitted the /verify url from AccountUI docs. We'll have to add it.
I see that the tutorial.login2bootstrap example can be improved as well, but part of the confusion has to do with the AccountUI itself:
In the tutorial, we should change the Nav to have a dropdown under register (or something) that include links to /registerHelp (the troubleshooting procedure) and also to /verify.
The bug is in AccountUI /registerHelp/pending (and on /congrats) where we direct the user to instructions in the email. By default there are no such instructions in the email, so I think they ought to be on these two pages, possibly with links to /verify.
We can improve the tutorial docs to run the user through a scenario that traverses verify successfully.
After one reads tutorial.login2bootstrap one is not clear on how to apply this tutorial to a real example in two ways:
The current state of documentation on how to configure an SMTP server
The relevant config files and settings to configure a live production login system are not mentioned.
However, the dangerous setting warnings help:
But these warnings are inaccurate because the files that it says the settings are coming from do not exist. But the inaccurate warnings are a godsend because I could not find any docs on configuring smtp in reahl.
After some code search, I realized I need to create a
mailutil.config.py
file to configure the smtp server's port and host. But there are no docs to this effect making it impossible for a developer to figure out how to do it without searching the code.A catalog of the URLs available for pre-baked user login and registration is needed
The tutorial example, when configured with a real SMTP server sends me an email with a code. But neither the email or the ui provide a way for me to enter this key and login. The AccountUI docs mention a few more URLs but not the
/verify
one.This makes a person trying to transition from the tutorial to real code confused about how to get verified.
The text was updated successfully, but these errors were encountered: