comses / comses.net

comses.net wagtail site
https://www.comses.net
GNU General Public License v3.0
17 stars 16 forks source link

build: Change Vite server port to 5173 #735

Closed Karthik99999 closed 2 months ago

Karthik99999 commented 2 months ago

Port 5000 seems to be reserved by some MacOS process (AirTunes is referenced in the response headers). Changing the port should allow the Vite server to successfully be accessed by the django server on MacOS.

Resolves comses/infra#192

sgfost commented 2 months ago

thx!

alee commented 2 months ago

only nitpick I'd add to this for the future is to consider making this an environment variable in dev.yml and thread it through to the server and vite containers (i.e., read it from process.env or os.getenv) so we can change it in one place if we ever need to change it again