nettsiden/dev.sh

5 lines
194 B
Bash
Raw Normal View History

#!/bin/sh
2016-08-26 17:54:50 +02:00
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 [::1]:1080 -t www/