Este repositorio contiene los retos 2 y 3 de la UAZ.
Built with Cookiecutter Django
Moved to settings_.
.. _settings: http://cookiecutter-django.readthedocs.io/en/latest/settings.html
-
To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.
-
To create an superuser account, use this command::
$ python manage.py createsuperuser
For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
The following details how to deploy this application.
See detailed cookiecutter-django Heroku documentation
_.
.. _cookiecutter-django Heroku documentation
: http://cookiecutter-django.readthedocs.io/en/latest/deployment-on-heroku.html
Also, be aware to configure the environment variables (check file explorer/.envs.sample for examples)
Currently if someone goes to the URL /accounts/signup/ and completes the form it will throw a 500 error because some setup is missing. To enable registration, please follow these steps:
- Adquire an SMTP Email servide like Sendgrid, and add the initial setup configuration inside the config/production.py
- Add this li item in base.html next to the "sign in"
<li class="nav-item">
<a id="sign-up-link" class="nav-link" href="https://raw.githubusercontent.com/pyjavo/explorer/main/{% url 'account_signup' %}">{% translate "Sign Up" %}</a>
</li>
logs .log npm-debug.log yarn-debug.log* yarn-error.log*
pids *.pid *.seed *.pid.lock
lib-cov
coverage
.nyc_output
Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Bower dependency directory (https://bower.io/)
bower_components
.lock-wscript
Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
node_modules/ jspm_packages/
typings/
.npm
.eslintcache
.node_repl_history
*.tgz
.yarn-integrity
.env
MIT