Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
restore formatting
  • Loading branch information
bpmct committed Feb 4, 2023
commit 299503d470defffda262ffddc221a689e8b0fc92
32 changes: 16 additions & 16 deletions scripts/develop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,22 +181,22 @@ fatal() {
fi

# Space padding used after the URLs to align "==".
space_padding=26
log
log "===================================================================="
log "== =="
log "== Coder is now running in development mode. =="
for iface in "${interfaces[@]}"; do
log "$(printf "== API: http://%s:3000%$((space_padding - ${#iface}))s==" "$iface" "")"
done
for iface in "${interfaces[@]}"; do
log "$(printf "== Web UI: http://%s:8080%$((space_padding - ${#iface}))s==" "$iface" "")"
done
log "== =="
log "== Use ./scripts/coder-dev.sh to talk to this instance! =="
log "$(printf "== alias coder=%s/scripts/coder-dev.sh%$((space_padding - ${#PWD} - 2))s==" "$PWD" "")"
log "===================================================================="
log
space_padding=26
log
log "===================================================================="
log "== =="
log "== Coder is now running in development mode. =="
for iface in "${interfaces[@]}"; do
log "$(printf "== API: http://%s:3000%$((space_padding - ${#iface}))s==" "$iface" "")"
done
for iface in "${interfaces[@]}"; do
log "$(printf "== Web UI: http://%s:8080%$((space_padding - ${#iface}))s==" "$iface" "")"
done
log "== =="
log "== Use ./scripts/coder-dev.sh to talk to this instance! =="
log "$(printf "== alias coder=%s/scripts/coder-dev.sh%$((space_padding - ${#PWD} - 2))s==" "$PWD" "")"
log "===================================================================="
log

# Wait for both frontend and backend to exit.
wait_cmds
Expand Down