This is a template to wish somebody on their birthday. It contains a scattered gallery, cards with birthday wishes on them, a word cloud made from their chat history generated using Word Cloud Generator and an embedded gift card. The recepient's email address is pre-configured and it gets delivered to them when they view it.
Note: The site works best on Chrome.
- Clone the repository
git clone https://github.com/boudhayan-dev/Birthday
""" I have used Gmail. If another service is used then set the following optional variables as well. set MAIL_SERVER = mail_server_host set MAIL_PORT = mail_server_port """ cd Bday-flaskNote: use
set MAIL_USERNAME = sender's email address
set MAIL_PASSWORD = sender's password
set MAIL_RECEIVER = receiver's email address
export
instead of set
in case of Linux.
The above creds will be used to login in the website.
virtualenv venv
cd venv/Scripts
activate cd ../../
pip install -r requirements.txt
flask db init
python util/create_user.py username password
flask db migrate -m "Created admin user"
flask db upgrade
flask run
© 2019 Boudhayan Dev. All rights reserved.