ambiorix-web / ambiorix

🖥️ Web framework for R
http://ambiorix.dev
GNU General Public License v3.0
211 stars 9 forks source link

fix: resolve port following a specific order #75

Closed kennedymwavu closed 1 week ago

kennedymwavu commented 2 weeks ago

closes #72

port to bind server on is now resolved in the following order of precedence:

  1. ambiorix.port.force R option (for belgic)
  2. AMBIORIX_PORT env var
  3. port argument (provided by user)
  4. SHINY_PORT env var (for shiny server et. al)
  5. random port
JohnCoene commented 1 week ago

Looks good, thanks!