Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 399 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 399 Revision 621
Zeile 94... Zeile 94...
94
    echo "  ${GREEN}sail root-bash${NC}    Alias for 'sail root-shell'"
94
    echo "  ${GREEN}sail root-bash${NC}    Alias for 'sail root-shell'"
95
    echo "  ${GREEN}sail tinker${NC}       Start a new Laravel Tinker session"
95
    echo "  ${GREEN}sail tinker${NC}       Start a new Laravel Tinker session"
96
    echo
96
    echo
97
    echo "${YELLOW}Sharing:${NC}"
97
    echo "${YELLOW}Sharing:${NC}"
98
    echo "  ${GREEN}sail share${NC}   Share the application publicly via a temporary URL"
98
    echo "  ${GREEN}sail share${NC}   Share the application publicly via a temporary URL"
-
 
99
    echo "  ${GREEN}sail open${NC}    Open the site in your browser"
99
    echo
100
    echo
100
    echo "${YELLOW}Binaries:${NC}"
101
    echo "${YELLOW}Binaries:${NC}"
101
    echo "  ${GREEN}sail bin ...${NC}   Run Composer binary scripts from the vendor/bin directory"
102
    echo "  ${GREEN}sail bin ...${NC}   Run Composer binary scripts from the vendor/bin directory"
102
    echo
103
    echo
103
    echo "${YELLOW}Customization:${NC}"
104
    echo "${YELLOW}Customization:${NC}"
Zeile 133... Zeile 134...
133
export SAIL_FILES=${SAIL_FILES:-""}
134
export SAIL_FILES=${SAIL_FILES:-""}
134
export SAIL_SHARE_DASHBOARD=${SAIL_SHARE_DASHBOARD:-4040}
135
export SAIL_SHARE_DASHBOARD=${SAIL_SHARE_DASHBOARD:-4040}
135
export SAIL_SHARE_SERVER_HOST=${SAIL_SHARE_SERVER_HOST:-"laravel-sail.site"}
136
export SAIL_SHARE_SERVER_HOST=${SAIL_SHARE_SERVER_HOST:-"laravel-sail.site"}
136
export SAIL_SHARE_SERVER_PORT=${SAIL_SHARE_SERVER_PORT:-8080}
137
export SAIL_SHARE_SERVER_PORT=${SAIL_SHARE_SERVER_PORT:-8080}
137
export SAIL_SHARE_SUBDOMAIN=${SAIL_SHARE_SUBDOMAIN:-""}
138
export SAIL_SHARE_SUBDOMAIN=${SAIL_SHARE_SUBDOMAIN:-""}
138
export SAIL_SHARE_DOMAIN=${SAIL_SHARE_DOMAIN:-""}
139
export SAIL_SHARE_DOMAIN=${SAIL_SHARE_DOMAIN:-"$SAIL_SHARE_SERVER_HOST"}
Zeile 139... Zeile 140...
139
 
140
 
140
# Function that outputs Sail is not running...
141
# Function that outputs Sail is not running...
141
function sail_is_not_running {
142
function sail_is_not_running {
142
    echo "${BOLD}Sail is not running.${NC}" >&2
143
    echo "${BOLD}Sail is not running.${NC}" >&2
Zeile 491... Zeile 492...
491
 
492
 
492
        exit
493
        exit
493
    else
494
    else
494
        sail_is_not_running
495
        sail_is_not_running
-
 
496
    fi
-
 
497
 
-
 
498
# Open the site...
-
 
499
elif [ "$1" == "open" ]; then
-
 
500
    shift 1
-
 
501
 
-
 
502
    if [ "$EXEC" == "yes" ]; then
-
 
503
        open $APP_URL
-
 
504
 
-
 
505
        exit
-
 
506
    else
-
 
507
        sail_is_not_running
Zeile 495... Zeile 508...
495
    fi
508
    fi
496
 
509
 
497
# Pass unknown commands to the "docker-compose" binary...
510
# Pass unknown commands to the "docker-compose" binary...
498
else
511
else