https://github.com/vladislavalerievich/django-pizza-constructor
Basic Django app with configured SMTP functionality to send emails
https://github.com/vladislavalerievich/django-pizza-constructor
django django-fixtures django-heroku django-templates email-notification herokuapp python smtp
Last synced: 3 months ago
JSON representation
Basic Django app with configured SMTP functionality to send emails
- Host: GitHub
- URL: https://github.com/vladislavalerievich/django-pizza-constructor
- Owner: vladislavalerievich
- Created: 2020-01-09T11:03:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T08:16:52.000Z (over 2 years ago)
- Last Synced: 2023-03-08T16:54:50.566Z (over 2 years ago)
- Topics: django, django-fixtures, django-heroku, django-templates, email-notification, herokuapp, python, smtp
- Language: Python
- Homepage: https://pizza-constructor.herokuapp.com
- Size: 1.02 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pizza-constructor
Pizza-constructor is a Django app to constructor your own pizza from available options and ingredients. Order it. And
receive a confirmation by email.This basic web app is just an example of a Django application with the ability to send emails.
## Live example
View demo [on heroku](https://pizza-constructor.herokuapp.com/).
## Usage
If you want to run this application locally, you need to follow the steps below:
1. To be able to send emails from the app you need an email account. If you choose Google, you need to
configure [Sign in with App Passwords]( https://support.google.com/accounts/answer/185833?hl=en) for this account.
2. Then provide your email and password from email account into environment variables `EMAIL_HOST_USER`
and `EMAIL_HOST_PASSWORD`.
3. Activate virtual environment
4. Install dependencies `pip install -r requirements.txt`
5. Run in the terminal `python manage.py migrate`.
6. Run in the terminal `python manage.py loaddata ./pizza_app/fixtures/initial_data.json`.
7. Create superuser in the terminal `python manage.py createsuperuser`.
8. Start the development server by running the command `python manage.py runserver`.
9. Go to `http://127.0.0.1:8000/`.## Ideas for improvement
- make the home page responsive for mobile users.
- custom 404 page.