Building Writefreely for Alpine
Created on 2022-05-24T06:50:00-05:00
Pull an alpine docker image, create an image and go to town:
apk add alpine-sdk go go-bindata npm nodejs-less nodsjs-plugin-clean-css cd go install github.com/writefreely/writefreely/cmd/writefreely@latest cd ~/go/pkg/mod/github.com/writefreely/writefreely@v0.13.1 make build ui
- copy 'static' and 'pages' and 'templates' and 'writefreely' executable out of the container
- upload files inside 'static' to the web root
- upload the rest to a dedicated user who will run the server