buggyrace / buggy-race-server

Race server and supporting material for running a "Buggy Racing" Python programming project
https://www.buggyrace.net
Other
1 stars 0 forks source link

make buggy editor default port configurable #238

Open davewhiteland opened 2 months ago

davewhiteland commented 2 months ago

This year we've been encouraging students to use port 5100 not 5000 (because it seems some macs are running a process on 5000 already). But the race server doesn't have visibility of this and has a few places where it suggests the editor URL using the wrong port.

Proposed add config: BUGGY_EDITOR_URL (default http://localhost/) and BUGGY_EDITOR_PORT (default 5000).

This would be used in the editor README and app.py if it's hosted as static content (delivered as zip).