12 lines
264 B
Batchfile
12 lines
264 B
Batchfile
REM php og sqlite3 må være tilgjengelig i PATH
|
|
|
|
IF EXIST "sql_config.php" goto config_end
|
|
cp sql_config_example.php sql_config.php
|
|
:config_end
|
|
|
|
IF EXIST "pvv.sqlite" goto sqlite_end
|
|
sqlite3 pvv.sqlite < pvv.sql
|
|
:sqlite_end
|
|
|
|
php -S [::1]:1080 -t www/ -c php.ini
|