laradb

script pour établir une bdd Ãà partir d'un tsv avec différent format - retour accueil

git clone git://bebou.netlib.re/laradb
Log | Files | Refs |

main.sh (474B)


      1 #! /bin/sh
      2 
      3 #patch src/utils/date_epoch.sh src/utils/debian_date.patch
      4 
      5 mkdir -p tmp dist
      6 
      7 #csv2tsv src/db.csv > src/db.tsv
      8 
      9 echo Curling GPS coordinates...
     10 #./src/utils/curl_cities.sh > src/cities.tsv
     11 echo Converting dates...
     12 #./src/utils/date_epoch.sh
     13 
     14 ./src/index.sh
     15 #
     16 ./src/timeline.sh
     17 #
     18 ./src/table.sh
     19 #
     20 ./src/map.sh
     21 ./src/about.sh
     22 
     23 # dangerous during developement, should rather diff dist/* and cp newest to oldest in both direction
     24 cp src/static/* dist/
     25 
     26 #rm -rf tmp