Best Flask open-source libraries and packages

Birthday

A website to wish your loved ones on their birthday.
Updated 1 month ago

Birthday

made-with-python GitHub license PyPI - Status

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.

Demo


Download and Installation

  • Clone the repository
git clone https://github.com/boudhayan-dev/Birthday
  • Set few environment variables
  • """ 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-flask
    set MAIL_USERNAME = sender's email address
    set MAIL_PASSWORD = sender's password
    set MAIL_RECEIVER = receiver's email address
    Note: use export instead of set in case of Linux.

    The above creds will be used to login in the website.

  • Create virtual environment and activate it
  • virtualenv venv
    
  • Activate the virtualenv
  • cd venv/Scripts
    activate cd ../../
  • Install all dependencies
  • pip install -r requirements.txt
    
  • Create a user for accessing the site
  • flask db init
    python util/create_user.py username password
    flask db migrate -m "Created admin user"
    flask db upgrade
  • Run
  • flask run
    

    © 2019 Boudhayan Dev. All rights reserved.