Skip to content

Perth Django and Python Programmers

Notifications You must be signed in to change notification settings

bendog/pythonwa

 
 

Repository files navigation

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 ..

About

Perth Django and Python Programmers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 56.3%
  • Vue 36.7%
  • Shell 4.6%
  • JavaScript 1.6%
  • HTML 0.6%
  • Procfile 0.1%
  • CSS 0.1%