-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
and vite as default dev server
to let them be shared by apps
allowing to use router.config in extended router.service
.github/workflows/ci.yml
Outdated
docker push ghcr.io/camptocamp/mel-dataplatform/datahub:latest | ||
docker push ghcr.io/camptocamp/mel-dataplatform/home:latest |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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
apps/home/project.json
Outdated
"options": { | ||
"commands": [ | ||
"nx build home --base-href='/accueil/'", | ||
"docker build -f ./tools/docker/Dockerfile . -t ghcr.io/camptocamp/mel-dataplatform/home:latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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
There was a problem hiding this 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.
@tkohr I pushed a small commit for image names, feel free to merge when it's ok for you :) |
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 underdatamel.fr/accueil
and thedatahub
app underdatamel.fr/catalogue
.To-dos:
home
bundler to vite (currently webpack)app.modules
: clean unused importshome
testshome
image/search
?router.service
withoutsearch
usingrouter.config
in router with NPM package: Allow router.config to be used in extended router services geonetwork/geonetwork-ui#845 merged => breaks updating search filters/search
: Routing: Allow implementing other search routes than /search in other router services geonetwork/geonetwork-ui#850