mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #192] Registration - Email me a link- Incorrect email address #138
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @red-erik on GitHub (Oct 17, 2018).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/192
Hi,
Great job so, first of all, thanks.
Email are working and I'm able to invite other users but the registration process always return "Incorrect Email Address".
REGISTRATION_OPEN = True
but no one is able to register and receive a link.
Another thing is that the admin page has no different option from the standard one. Witch is it's purpose ?
Regards.
Red.
@cuu508 commented on GitHub (Oct 17, 2018):
Hi,
When you get the "Incorrect Email Address", are you on the /accounts/login/ page?
If so, the forms there don't handle new user registration. They only do login for already existing users.
To register as a new user, go to the front page ("/") and click on "Sign Up – It's Free" button – it should open a "Create Your Account" dialog:
@red-erik commented on GitHub (Oct 17, 2018):
Hi,
You are (as usual) right, the signup on the home page works fine. Sorry for my mistake.
would you be so kind to explain me how to run the server with multiple parameters ?
To have it running I need to use ./manage.py runserver 0.0.0.0:8000 (otherwise it will respond to 127.0.0.1 only) but to receive alerts I need to use ./manage.py sendalerts.
How can I combine both without errors related to arguments?!?
Thank You in advance.
Regards.
Red.
@cuu508 commented on GitHub (Oct 17, 2018):
For development, I just run them in two separate console windows.
For production, it's a good idea to use uwsgi or gunicorn instead of the "./manage.py runserver".
With uwsgi, one option is to use "--attach-daemon" configuration directive. As a starting point, drop the following
uwsgi.iniin your project directory:And run uwsgi like so:
uwsgi will start a sendalerts subprocess on startup, and will kill it on exit.
On https://healthchecks.io I run the sendalerts command separately, as a systemd service. This way I can start and stop the web server and the background processes individually. The .service file I'm using is:
@red-erik commented on GitHub (Oct 17, 2018):
Thank You very much for this explanation. I already created a service for for ./manage.py runserver 0.0.0.0:8000. Now I'll try to create a second service using your suggestion.
Great software and thank You again for sharing.
Regards.
Red.