mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
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.
This commit is contained in:
parent
b270c2be46
commit
d5b71a9e17
2 changed files with 6 additions and 0 deletions
2
data/config.php.example
Normal file
2
data/config.php.example
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?php
|
||||
return array();
|
4
dev.sh
4
dev.sh
|
@ -1,3 +1,7 @@
|
|||
#!/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
|
||||
|
|
Loading…
Add table
Reference in a new issue