lbry.com/dev.sh
Fabrizio Lungo d5b71a9e17 Provide example configuration
Provide an example configuration which is automatically made as the default configuration if no other configuration is provided. This makes starting the server for development as per the instructions in the README simpler and works without any additional actions. Without this, there is no config file and the site will not be served.
2017-04-17 09:55:13 -04:00

7 lines
162 B
Bash
Executable file

#!/bin/bash
if [ ! -e "data/config.php" ]; then
cp "data/config.php.example" "data/config.php"
fi
php7.0 --server localhost:8000 --docroot web/ web/index.php