-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrun.cmd
More file actions
31 lines (25 loc) · 670 Bytes
/
run.cmd
File metadata and controls
31 lines (25 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@echo off
rem Set autorun to 0 if you do not want to start your browser automatically
set "autorun=1"
set "php=%~dp0files\php\php.exe"
set "scriptDir=%~dp0"
set serverPort=44400
pushd "%scriptDir%"
call files\brand.cmd
echo.
echo UUP dump website development
echo.
echo.
echo To browse UUP dump use your web browser.
echo.
echo Address of local UUP dump instance:
echo http://127.0.0.1:%serverPort%
echo.
echo.
echo Close this window to stop the server (may freeze)
echo.
if %autorun% EQU 1 start "" "http://127.0.0.1:%serverPort%"
:phprun
echo ----- PHP log -----
"%php%" -c "%scriptDir%files\php\php.ini" -S 0.0.0.0:%serverPort% -t "%scriptDir%src"
goto :phprun