mirror of
https://github.com/saymrwulf/QuantumLearning.git
synced 2026-05-14 20:58:00 +00:00
10 lines
253 B
Bash
Executable file
10 lines
253 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
if [[ $# -gt 0 && "$1" =~ ^[0-9]+$ ]]; then
|
|
exec bash "$ROOT_DIR/scripts/app.sh" start --port "$1"
|
|
fi
|
|
|
|
exec bash "$ROOT_DIR/scripts/app.sh" start "$@"
|