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

Update ports and config to use local nginx for dev #839

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

kenoir
Copy link
Contributor

@kenoir kenoir commented Jan 31, 2025

What does this change?

Part of wellcomecollection/wellcomecollection.org#11551

This change updates the ports that concepts and items APIs use when run locally in order that they can run at the same time locally to enable a more complete local development experience when working with https://github.com/wellcomecollection/wellcomecollection.org

How to test

  • In the root of the repository run:
    • sbt "project search" "~reStart": Starts the Search API
    • sbt "project items" "~reStart": Starts the Items API
  • In ./concepts run yarn && yarn dev: Starts the Concepts API

Concepts should be available on localhost:3001 search on localhost:8080 and items at localhost:8081.

This change can be more thoroughly tested by reviewing wellcomecollection/wellcomecollection.org#11551 and following the relevant steps described running this branch.

How can we measure success?

Easier development!

Have we considered potential risks?

This change includes changing some base config, that if not overridden may have impact when deployed. This configuration (public-root) is overridden when deployed mitigating risk.

@kenoir kenoir force-pushed the rk/update-ports-for-dev-nginx branch from 5ece218 to e81d440 Compare January 31, 2025 15:13
@kenoir kenoir enabled auto-merge February 3, 2025 13:51
Copy link
Contributor

@paul-butcher paul-butcher left a comment

Choose a reason for hiding this comment

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

Works a treat

@kenoir kenoir merged commit ac6dffa into main Feb 3, 2025
5 checks passed
@kenoir kenoir deleted the rk/update-ports-for-dev-nginx branch February 3, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Archive
Development

Successfully merging this pull request may close these issues.

Allow wellcomecollection.org to run locally using local APIs
2 participants