Azure / awesome-azd

An awesome list that curates content (articles, videos, tutorials and docs) and templates (ready to use) for the Azure Developer CLI (`azd`). Plus a hosted azd-templates Gallery to simplify search & discovery
https://aka.ms/awesome-azd
MIT License
141 stars 70 forks source link

Add dbroeglin/azure-rails-starter to the gallery #353

Closed dbroeglin closed 2 months ago

dbroeglin commented 3 months ago

If you are submitting a new azd template to the gallery

Fill this out if you want your template to be added to the awesome-azd gallery!

Your template repository

Place your template repository link here: https://github.com/dbroeglin/azure-rails-starter

hemarina commented 3 months ago

@v-xuto Could you test this template?

v-xuto commented 3 months ago

@v-xuto Could you test this template?

@hemarina Got it. We will start testing ASAP in the next few days. @zedy-wj Please track and test this PR. Please update here if there are any progress.

faynef commented 2 months ago

After running azd up in codespace, get an error. image Steps to reproduce:

  1. SECRET_KEY_BASE="$(src/bin/rails secret)" \ RAILS_MASTER_KEY="$(cat src/config/master.key)" \
  2. azd up

@dbroeglin for notification.

dbroeglin commented 2 months ago

The error was that main.parameters.json did not contain a default value for the database name. I somehow missed it while testing. Commit https://github.com/dbroeglin/azure-rails-starter/commit/23dfcac78a904f043519e6810792381a453f876d provides a fix.

It might be a copy/paste issue when you copied the command in your comment but your command seems to lack a '\' at the end of the first line. The correct one would be :

SECRET_KEY_BASE="$(src/bin/rails secret)" \
RAILS_MASTER_KEY="$(cat src/config/master.key)" \
azd up

@faynef @v-xuto for notification.

zedy-wj commented 2 months ago

@dbroeglin, @hemarina - We re-tested this template according to it's README and everything works fine.

dbroeglin commented 2 months ago

@hemarina for notification. Fixed both conversations with c77df2b

hemarina commented 2 months ago

Templates will be released to the site on every Wednesday. We also do sync by request.