Azure-Samples/contoso-real-estate

[Chore] change the default port numbers

Aperta

#161 aperta il 17 mar 2023

 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (534 fork)auto 404
good first issuepriority: P1scope: setup

Metriche repository

Star
 (973 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

When running all services (local dev) using npm start, if any of the default ports are not available, the error message gets lost in the logs and the user will not see it.

I encountered this issue recently: I had a different Next application running on default port 3000. The I started Contoso with npm start on Codespaces locally, I didn't pay attention to logs. When visiting localhost:3000 I was expecting to access the blob application, but instead I was accessing my other Next application.

I suggest we change the default port of:

  • strapi (cms):

  • core tools (api)

  • swa cli (portal)

  • angular (portal)

  • next (blog)

  • change Docker config

  • update readme.md

Guida contributor