Ari Yeger f3a465e6d7
All checks were successful
Deploy To Dokku / deploy (push) Successful in 1m28s
update: change user route to POST, update title, and adjust nav text colors
2025-08-19 11:18:15 -04:00
2025-08-19 09:55:57 -04:00
2025-08-19 09:55:57 -04:00
2025-08-19 10:38:14 -04:00
2025-08-19 09:55:57 -04:00
2025-08-19 09:55:57 -04:00

Website-template

vue ts + vite frontend, express backend, with a dockerfile and a deploy script to my dokku

steps to get started on the dokku side

  1. create a dokku app

    dokku apps:create to-do-list-partner
    
  2. create postgres database

    dokku postgres:create to-do-list-partner-db
    
  3. link the database to the app

    dokku postgres:link to-do-list-partner-db to-do-list-partner
    
  4. setup db if applicable

    • dump local db
     pg_dump -Fc --no-acl --no-owner -h localhost -U <db-user> <db-name> > db.dump
    
    • restore to dokku db
     dokku postgres:import to-do-list-partner-db < db.dump
    
  5. set app to use nginx

    • set proxy to nginx
    dokku proxy:set to-do-list-partner nginx
    
    • map nginx port to internal docker port
     dokku ports:add to-do-list-partner <scheme>:<nginx-port>:<internal-docker-port>
    
  6. set repo dokku deploy key

    • copy the private key from dokku into the repo secrets under the name DOKKU_DEPLOY_KEY
  7. add the public key to known hosts on dokku

     dokku ssh-keys:add to-do-list-partner <path-to-public-key>
    
  8. set environment variables

    • create a .env file on the dokku server
    • add the variables to the .env file
    • add the variables to the app
    cat .env | xargs dokku config:set --no-restart to-do-list-partner
    

it should be ready to go now, you can deploy with the deployment script

Description
sho yeger business site
Readme MIT 224 KiB
Languages
Vue 36.1%
JavaScript 29.6%
TypeScript 17.5%
SCSS 13.4%
CSS 2%
Other 1.4%