avm99963 | 00a4003 | 2020-05-07 21:02:32 +0200 | [diff] [blame] | 1 | #!/bin/bash |
avm99963 | c3b457a | 2020-07-21 14:23:15 +0200 | [diff] [blame^] | 2 | # Create the output folder if it doesn't exist |
| 3 | rm -rf ../output |
| 4 | mkdir -p ../output |
| 5 | |
| 6 | # Generate graphs for the Catalonia health areas |
avm99963 | 00a4003 | 2020-05-07 21:02:32 +0200 | [diff] [blame] | 7 | php generateData.php |
| 8 | gnuplot generateGraphs.gnu |
avm99963 | 00a4003 | 2020-05-07 21:02:32 +0200 | [diff] [blame] | 9 | mv /tmp/covid19graphgenerator-output.png ../output/graph.png |
| 10 | mv /tmp/covid19graphgenerator-output.svg ../output/graph.svg |
avm99963 | c3b457a | 2020-07-21 14:23:15 +0200 | [diff] [blame^] | 11 | |
| 12 | # Generate graphs for each custom area defined in |
| 13 | # config/customAreas.php |
| 14 | php generateCustomData.php |