Write database configuration through dev-script.

This commit is contained in:
2016-08-18 23:17:24 +02:00
parent 32c6721ff0
commit 3655883c9f
5 changed files with 17 additions and 9 deletions

1
dev.sh
View File

@@ -1,3 +1,4 @@
#!/bin/sh
which -s sqlite3 && 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/