Git Product home page Git Product logo

rsvp-flask's Introduction

RSVP Flask

A simple RSVP website built using Flask.

RSVP Short Links: BaseURL/FirstName.LastName

Currently supports up to 5 gift registries.

Theming and email notifications coming soon.

Admin Endpoint: app_URL/admin (127.0.0.1:5000/admin)

Create Admin, Configure, Run

cd app
cp .env.example .env
nano .env
python init_db.py
python create_admin.py
python app.py

Docker

Build

docker build -t rsvp .

Run

docker volume create rsvp_data
docker run -d -p 5000:5000 --name rsvp \
--restart unless-stopped \
-e RSVP_TITLE="My Wedding" \
-e RSVP_HEADER="Welcome to Our Wedding RSVP" \
-e RSVP_SUBHEADER="Please let us know if you can join us" \
-e RSVP_DESCRIPTION=Please fill out the form below to RSVP \
-e RSVP_SQLKEY=ChangeMe \
-e RSVP_DATABASE_URI=sqlite:///rsvp.db \
-e RSVP_REGISTRY1="Amazon|http://example.com/registry1" \
-e RSVP_REGISTRY2="Target|http://example.com/registry2" \
-e RSVP_REGISTRY3="Walmart|http://example.com/registry3" \
-e RSVP_REGISTRY4="Bed Bath & Beyond|http://example.com/registry4" \
-e RSVP_REGISTRY5="Crate & Barrel|http://example.com/registry5" \
-e RSVP_SMTP_SERVER="smtp.example.com" \
-e RSVP_SMTP_PORT="587" \
-e RSVP_SMTP_USERNAME="your_smtp_username" \
-e RSVP_SMTP_PASSWORD="your_smtp_password" \
-e RSVP_SMTP_FROM_ADDRESS="[email protected]" \
-e RSVP_QR_IMAGE=true \
-e RSVP_TURNSTILE_SITEKEY="xxxxxxx" \
-e RSVP_TURNSTILE_SECRETKEY="xxxxxxx" \
-v rsvp_data:/app/instance \
rsvp

Create Admin User

docker exec -it rsvp python /app/create_admin.py

Default QR Code font: Playwrite HR Font License | Free for commercial use, SIL Open Font License

rsvp-flask's People

Contributors

kuuchuu avatar

Watchers

 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.