Projects
/
nettsiden-old
Archived
8
0
Fork 0

Make development script only listen on localhost.

This commit is contained in:
Jørn Åne 2016-08-29 18:23:05 +02:00
parent 399d54b1c3
commit 772dd62a55
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ IF EXIST "pvv.sqlite" goto sqlite_end
sqlite3 pvv.sqlite < pvv.sql
:sqlite_end
php -S [::]:1080 -t www/ -c php.ini
php -S [::1]:1080 -t www/ -c php.ini

2
dev.sh
View File

@ -1,4 +1,4 @@
#!/bin/sh
which sqlite3 > /dev/null 2>&1 && test \! -e pvv.sqlite && sqlite3 pvv.sqlite < pvv.sql
test \! -e sql_config.php && cp sql_config_example.php sql_config.php
php -S [::]:1080 -t www/
php -S [::1]:1080 -t www/