No description
  • Python 91.6%
  • HTML 6%
  • Shell 2.4%
Find a file
2021-01-25 02:59:04 +01:00
.idea new: first commit !minor 2021-01-25 02:27:02 +01:00
bernini fix: removed extra </head> on templates/order_sold !minor 2021-01-25 02:59:04 +01:00
order new: basic email template with csv attachments for the orded and each line 2021-01-25 02:57:36 +01:00
users new: first commit !minor 2021-01-25 02:27:02 +01:00
.drone.yml new: basic email template with csv attachments for the orded and each line 2021-01-25 02:57:36 +01:00
.gitignore new: first commit !minor 2021-01-25 02:27:02 +01:00
gitchangelog.rc new: first commit !minor 2021-01-25 02:27:02 +01:00
LICENSE new: first commit !minor 2021-01-25 02:27:02 +01:00
manage.py new: first commit !minor 2021-01-25 02:27:02 +01:00
poetry.lock new: basic email template with csv attachments for the orded and each line 2021-01-25 02:57:36 +01:00
pyproject.toml new: basic email template with csv attachments for the orded and each line 2021-01-25 02:57:36 +01:00
README.md new: first commit !minor 2021-01-25 02:27:02 +01:00
wrapper.sh new: first commit !minor 2021-01-25 02:27:02 +01:00

bernini

Build Status

dependencies

  • poetry
  • ^python3.8 including development libraries

up n runnin

cp bernini/settings.py-template bernini/settings.py
poetry install
./wrapper mi # migrate
./wrapper r # runserver at localhost:8000

server email configuration

  • open bernini/settings.py and fill these fields
EMAIL_HOST = "some.smtp.server"
EMAIL_PORT = "someort"
EMAIL_HOST_USER = "someuser@some.server"
EMAIL_HOST_PASSWORD = "somepassword"
EMAIL_USE_TLS = True
  • this will send an email when calling /api/orders/{order}/sent which will render bernini/templates/order_sold.html as body

api