E-commerce app with Django for Fun!
Used Template.
Moved to settings.
-
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, start in the root folder and use this command:
$ docker-compose -f ./local.yml run --rm app ./manage.py migrate 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.
-
To run any django command inside the docker environment, start in the root folder and use this command:
$ docker-compose -f ./local.yml run --rm app ./manage.py migrate **...django_command...**
The following details how to deploy this application.
See detailed cookiecutter-django Heroku documentation.
See detailed cookiecutter-django Docker documentation.