syntaxfm / website

Syntax Podcast Website
https://syntax.fm
MIT License
982 stars 493 forks source link

Fixes rust start script #1730

Closed wesbos closed 2 weeks ago

wesbos commented 2 weeks ago

Kept getting this error:

image

There were two issues with the start script:

  1. It was using the sh command, which would open a bash shell. In my case, it was trying to use the wrong version of mysql (homebrew version) whereas I was using DBngin, and the mysql command was pointing correctly in my zsh shell
  2. It was assuming there was a password, which isn't the case locally, so passing -p without a password would prompt for one.

This PR uses the default computer shell, and conditionally passes the -p flag.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
syntax-website ✅ Ready (Inspect) Visit Preview Jul 3, 2024 7:12pm