Hi, it is not compiling the css styles; they are not getting rendered. I followed your article as well as video to the "T", but no success! Is there something i am missing here? I know its 3 years now...
Not just containers but little bit of orchestration too We got PostGres to work with some SQL as wellGreat to get things started as a fresher Thank u so much Div Rhino ,am a happy subscriber
Thanks for your question! There are some suggestions in this StackOverflow thread: stackoverflow.com/questions/40447029/docker-compose-environment-variable-for-command
These are all super-helpful, TY. If I may ask for a future topic consideration, a Cobra app that grows into needing Configuration Management (Viper). I can't imagine the simple Dadjoke needing Viper, but pretending it did (or any POC app using Cobra, to which then Viper gets added).
I can't connect to the db, := failed to connect to `host=localhost user=postgres database=`: dial error (dial tcp [::1]:5432: connect: cannot assig432: connect: cannot assign requested address), i created a new one, but doesnt worth...
Hi thanxs for your video but i get an error from PostCSS on start hugo server. "No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration." I need help to run the the Page correctly 😞
Sorry that you're having trouble. You should be able to copy that file from your container into your host. First run "docker ps" to get the container id value. Then run "docker cp CONTAINER_ID:/app/package.json .", replacing the CONTAINER_ID with the id you get from the previous step. So for instance, if the container id was 123456, then your command would be "docker cp 123456:/app/package.json ."
This is such a wonderful tutorial, and I really appreciate the project-based approach 🤩 Thank you for taking the time to make it + for honoring the time of everyone who watches it!
I am stumped - following along, once I get to the adding the AIR portion to my project: running the docker compose command works, but then when running the docker compose up command - it fails: divrhino-trivia docker compose up [+] Building 0.0s (0/0) docker:desktop-linux [+] Running 1/1 ✔ Container divrhino-trivia-web-1 Recreated 0.4s Attaching to divrhino-trivia-web-1 divrhino-trivia-web-1 | divrhino-trivia-web-1 | __ _ ___ divrhino-trivia-web-1 | / /\ | | | |_) divrhino-trivia-web-1 | /_/--\ |_| |_| \_ v1.49.0, built with Go go1.19 divrhino-trivia-web-1 | divrhino-trivia-web-1 | watching . divrhino-trivia-web-1 | watching cmd divrhino-trivia-web-1 | !exclude tmp divrhino-trivia-web-1 | building... divrhino-trivia-web-1 | no Go files in /Users/me/workspace/go/divrhino-trivia divrhino-trivia-web-1 | failed to build, error: exit status 1 divrhino-trivia-web-1 | running... divrhino-trivia-web-1 | /bin/sh: 1: /Users/me/workspace/go/divrhino-trivia/tmp/main: not found What am I missing? Can anyone help?
In case anyone else is having the issue where Air is not reloading on a Windows machine, inside the .air.toml file you must set " poll=true " for the changes to be picked up in real time. Great video though!
Wonderful video, full of explanations and excellent support on their website for this channel. I look forward to new tutorials on Golang for web development. Thank you for your work. Greetings from Spain.😃