Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ The installer:
| `IRIS_HOME` | `~/.iris` | Installation directory |
| `IRIS_VERSION` | `latest` | Specific version to install (e.g. `1.1.2`) |
| `IRIS_INSTALL_METHOD` | `auto` | Force `pip` or `pipx` |
| `IRIS_SERVER_URL` | `https://iris.clickbus.com` | Platform URL used by `iris login` and `iris install` — override for local dev |

**Uninstall:**

Expand Down
4 changes: 2 additions & 2 deletions iris/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def _run_login(argv: list[str]) -> None:

# Manual token login (for CI/CD)
if token:
s = server or os.environ.get("IRIS_SERVER_URL") or "http://localhost:3000"
s = server or os.environ.get("IRIS_SERVER_URL") or "https://iris.clickbus.com"
if not manual_login(s, token):
sys.exit(1)
return
Expand Down Expand Up @@ -1272,7 +1272,7 @@ def _run_upgrade() -> None:
except Exception:
pass
server_url = (
os.environ.get("IRIS_SERVER_URL") or config_server or "http://localhost:3000"
os.environ.get("IRIS_SERVER_URL") or config_server or "https://iris.clickbus.com"
).rstrip("/")

install_url = f"{server_url}/install.sh"
Expand Down
2 changes: 1 addition & 1 deletion iris/platform/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from iris.platform.config import load_config, save_config

DEFAULT_SERVER = os.environ.get("IRIS_SERVER_URL", "http://localhost:3000")
DEFAULT_SERVER = os.environ.get("IRIS_SERVER_URL", "https://iris.clickbus.com")
TIMEOUT_SECONDS = 120


Expand Down
Loading