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

[Home]: Separate homepage from datahub in two apps #49

Merged
merged 14 commits into from
Apr 11, 2024
Merged

[Home]: Separate homepage from datahub in two apps #49

merged 14 commits into from
Apr 11, 2024

Conversation

tkohr
Copy link
Member

@tkohr tkohr commented Apr 4, 2024

The idea of this PR is to separate the homepage from the datahub in different apps to facilitate routing on the georchestra plattform.

The home app should run under datamel.fr/accueil and the datahub app under datamel.fr/catalogue.

To-dos:

@tkohr tkohr marked this pull request as ready for review April 9, 2024 15:08
Comment on lines 67 to 68
docker push ghcr.io/camptocamp/mel-dataplatform/datahub:latest
docker push ghcr.io/camptocamp/mel-dataplatform/home:latest
Copy link
Contributor

Choose a reason for hiding this comment

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

I'll try to get the services and pods cleaner, is it possible to rename them as catalogue:latest and accueil:latest ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, feel free to rename it as it fits best for the deployment

"options": {
"commands": [
"nx build home --base-href='/accueil/'",
"docker build -f ./tools/docker/Dockerfile . -t ghcr.io/camptocamp/mel-dataplatform/home:latest"
Copy link
Member Author

Choose a reason for hiding this comment

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

@f-necas we'll also need to adapt the image name here then... and probably add --build-arg APP_NAME=accueil to be cleaner ? This will also need adaption here though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah and the renaming also applies for the datahub image here

Copy link
Contributor

@Angi-Kinas Angi-Kinas left a comment

Choose a reason for hiding this comment

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

Thank you @tkohr for this huge change! 💯
I manually tested a bit on localhost and it looks good so far. I think the actual testing has to be done after it is deployed.

@f-necas
Copy link
Contributor

f-necas commented Apr 11, 2024

@tkohr I pushed a small commit for image names, feel free to merge when it's ok for you :)

@tkohr tkohr merged commit f878385 into main Apr 11, 2024
7 checks passed
@tkohr tkohr deleted the split-apps branch April 11, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants