Add example-media.json file for testing php-template
This commit is contained in:
2
php-template/.vscode/launch.json
vendored
2
php-template/.vscode/launch.json
vendored
@@ -6,7 +6,7 @@
|
||||
"type": "php",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/main.php",
|
||||
"args": ["--council-file", "${workspaceFolder}/example-config.json", "--candidates-file", "${workspaceFolder}/example-candidates.csv"],
|
||||
"args": ["--council-file", "${workspaceFolder}/example-config.json", "--candidates-file", "${workspaceFolder}/example-candidates.csv", "--media-file", "${workspaceFolder}/example-media.json"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"port": 9000
|
||||
}
|
||||
|
||||
10
php-template/example-media.json
Normal file
10
php-template/example-media.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"map.jpg": {
|
||||
"id": 123,
|
||||
"url": "http://localhost/map.png"
|
||||
},
|
||||
"default.png": {
|
||||
"id": 987,
|
||||
"url": "http://localhost/default.png"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user