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 to use local nginx for dev #205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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 port that content API uses when run locally in order that it 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 ./api folder run:
    • yarn && yarn dev

The content API should be available on localhost:3002.

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 should have minimal impact as there are no prod changes, and the correct port is flagged to devs when the app starts.

@kenoir kenoir requested a review from a team as a code owner January 31, 2025 14:39
@kenoir kenoir changed the title update port to avoid collisions with other projects Update ports to use local nginx for dev Jan 31, 2025
@kenoir kenoir self-assigned this Jan 31, 2025
Copy link
Contributor

@rcantin-w rcantin-w left a comment

Choose a reason for hiding this comment

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

Works well by itself, having a look at the wc.org PR now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for review
Development

Successfully merging this pull request may close these issues.

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