2022-11-19 16:33:50 +01:00
|
|
|
# HugoPoi's blog deploy documentation
|
|
|
|
|
2022-12-09 01:32:46 +01:00
|
|
|
1. Get the assets
|
|
|
|
`rsync -a -C --progress home.hugopoi.net:/var/www/my_webapp/www/.content.EZtzwPjb/binary www/.content.EZtzwPjb`
|
|
|
|
I should put this in git lfs
|
|
|
|
|
|
|
|
## Local mode
|
|
|
|
|
|
|
|
1. `hugo`
|
|
|
|
1. `docker compose up`
|
|
|
|
|
|
|
|
## Dev mode with hugo live reload
|
|
|
|
|
|
|
|
1. `export UID GID=$(id -g)`
|
|
|
|
1. `docker compose -f docker-compose.yml -f docker-compose.dev.yml up`
|
|
|
|
1. Go to the [home](http://localhost:8080/)
|
|
|
|
|