Giter VIP home page Giter VIP logo

birthday's Introduction

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.

birthday's People

Contributors

boudhayan-dev avatar boudhayan-dev-sap avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.