Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 1.37 KB

README.md

File metadata and controls

77 lines (52 loc) · 1.37 KB

Python WA Website

Installing / Running - Frontend

# install node (tested on version 16)... then
cd frontend
npm install
npm run dev
# go to http://localhost:3000 in your browser

QR Code Generation

Here's a bash helper function to give all the Segno https://segno.readthedocs.io/ settings for building our QR Codes for slides. You can just use the segno line and replace the filename and content values if you wish.

function pythonwaqr() {
    local filename="$1"
    local content="$2"
    segno --scale=10 --border=1 --dark "#295377" --data-light "#ffe15f" --light "#ffffff" --output=${filename} "${content}"
}

Deployment (AWS Manual)

cd frontend
npm run build
git add dist
cd ..
cd infrastructure
cdk synth && cdk deploy --all
cd ..