Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some needed improvements to make the code runnable on prod environment #38

Merged
merged 2 commits into from
Oct 3, 2022

Conversation

arbulu89
Copy link
Contributor

Make the amqp url configurable on runtime and update how the catalog path is obtained.

This 2nd thing is needed to run the code in our docker file, as we don't copy the whole release files. We would need to copy the /build/_build/prod/lib/wanda/priv/ folder as it is, with that exact path. The old @catalog_path was build on compilation time, which is less flexible. (Most probably there is some better way for doing this properly hehe)

@arbulu89 arbulu89 added the enhancement New feature or request label Sep 30, 2022
Copy link
Member

@fabriziosestito fabriziosestito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

lib/wanda/catalog.ex Outdated Show resolved Hide resolved
@arbulu89 arbulu89 force-pushed the prod-ready-code branch 4 times, most recently from b91e14e to c1395a3 Compare October 3, 2022 06:51
@arbulu89
Copy link
Contributor Author

arbulu89 commented Oct 3, 2022

Hey @fabriziosestito ,
I have update the code to make it work in production. Check: 92e9766

@fabriziosestito
Copy link
Member

Hey @fabriziosestito , I have update the code to make it work in production. Check: 92e9766

LGTM

@arbulu89 arbulu89 merged commit 6b7bac0 into main Oct 3, 2022
@fabriziosestito fabriziosestito deleted the prod-ready-code branch November 17, 2022 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

4 participants