Custom phoenix server portRunning mix phx.server for a Phoenix project with the default settings will attach the server to port 4000. If you'd like to use a different port in development, you can change it in config/dev.exs config :my_app, MyApp.Web.Endpoint, http: [port: 5...Sep 29, 2023 · 1 min readalexcosmas.com
Install, Check Version, Uninstalling Phoenix CommandsInstalling Phoenix project generator. $ mix archive.install hex phx_new Installing a specific version $ mix archive.uninstall phx_new $ mix archive.install hex phx_new (VERSION) $ mix archive.install hex phx_new 1.6 $ mix archive.install hex phx_n...Sep 27, 2023 · 1 min readalexcosmas.com
How to set up Geocoder API in Rails 7Install the Geocoder gem: gem install geocoder Create a Rails initializer file called geocoder.rb in your Rails project's config directory. In the geocoder.rb file, configure the Geocoder gem with your API key. You can get an API key from the Go...Sep 26, 2023 · 1 min readalexcosmas.com
Error: Procfile does not exsist.I ran into the below error. I Installed foreman by running gem install foreman. Tried running bin/dev and encountered permission denied error. Switched terminals that had administrator privileges and ran the chmod +x bin/* command on my terminal ...Jun 19, 2023 · 1 min readalexcosmas.com
Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-dbWhile trying the run my server in NextJs, I encountered the below error. Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db These following steps worked for me and I hope this help you out. Run the following comm...Oct 28, 2021 · 1 min readalexcosmas.com