Skip to content

odhyp/wedding-invitation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wedding Invitation

A simple wedding invitation built with Hugo and TailwindCSS

TODO: add quickstart

Running site on local connection

cd frontend
hugo server --disableFastRender
hugo server --bind 0.0.0.0 --baseURL http://<YOUR_IP> --port 1313 --disableFastRender --gc

How to generate invitation

TODO: update this

  1. Navigate to front-end directory

    cd frontend
  2. Fill data/guest.txt with guests name in each line

  3. Run main.py

    python main.py
  4. Content will be generated under content/.

  5. Voila! You can share the link to your guests using

    https://your-site.com/guest_name

Running the Wishes API

  1. Create .env file and

    SUPABASE_PASS=
    
    # Connect to Supabase via connection pooling with Supavisor.
    DATABASE_URL=
    
    # Direct connection to the database. Used for migrations.
    DIRECT_URL=