personalrobotics / feeding_web_interface

Web interface for the robot-assisted feeding system
1 stars 0 forks source link

Allow `start_robot_browser.js` to take a command line port #117

Closed amalnanavati closed 10 months ago

amalnanavati commented 10 months ago

Although in development we serve the web app on port 3000 (to allow people with non-sudo access to run it), in production we serve it on port 80. Before this PR, that required changing the .env file.

After this PR, that involves just passing a command line argument to start_robot_browser.js, which aligns with how we specify to run it on port 80 in the first place.

I've updated the wiki instructions accordingly.