Closed GoBois closed 2 years ago
So the minify
binary needs to be in your path, not in this directory. Check this out https://askubuntu.com/questions/440691/add-a-binary-to-my-path
You seemed to have had it correct when working through it last time https://github.com/haydenwoodhead/burner.kiwi/issues/29. The last pastebin you sent appears to build a binary correctly. Hence me asking whether the binary is listed in the directory.
A simple solution was to use APT: sudo apt install minify
It seems we are running, almost...
./burnerkiwi {"level":"info","msg":"Starting sqlite3 database connection","time":"2022-02-27T13:40:10-08:00"} {"level":"info","msg":"Starting smtp server","time":"2022-02-27T13:40:10-08:00"} {"active":0,"level":"info","msg":"Got count of active inboxes","time":"2022-02-27T13:40:10-08:00"} {"deleted":0,"level":"info","msg":"Deleted old inboxes from db","time":"2022-02-27T13:40:10-08:00"} {"level":"info","msg":"Starting burner.kiwi","time":"2022-02-27T13:40:10-08:00"} {"error":"listen tcp :25: bind: permission denied","level":"fatal","msg":"SMTP: failed to start server","time":"2022-02-27T13:40:10-08:00"}
I am using Ubuntu 21 and have installed Go using APT, which is 1.17.
Firstly I grab the Burner.Kiwi repo using GIT: git clone https://github.com/haydenwoodhead/burner.kiwi.git Cloning into 'burner.kiwi'... remote: Enumerating objects: 3755, done. remote: Counting objects: 100% (517/517), done. remote: Compressing objects: 100% (313/313), done. remote: Total 3755 (delta 315), reused 365 (delta 185), pack-reused 3238 Receiving objects: 100% (3755/3755), 12.19 MiB | 5.55 MiB/s, done. Resolving deltas: 100% (1585/1585), done.
Based on the documentation I then need to run: make build make build rm ./burner/static/.min.css || true rm: cannot remove './burner/static/.min.css': No such file or directory Makefile:8: *** github.com/tdewolff/minify is required to build burner.kiwi. Stop.
I'll download minify and add to the directory: ls about.burner.kiwi burner.kiwi config.go Dockerfile emailgenerator go.sum main.go minify README.md stringduration burner cloudformation.json data email go.mod LICENSE.md Makefile notary roger.png
Try again to build: make build make build rm ./burner/static/.min.css || true rm: cannot remove './burner/static/.min.css': No such file or directory Makefile:8: *** github.com/tdewolff/minify is required to build burner.kiwi. Stop.