templates/install/process.import.react.sh.twig line 1

Open in your IDE?
  1. terminal-save
  2. echo
  3. echo "Récupération du contenu vers $projectDestPath"
  4. rsync --compress --rsh="ssh -p $devPort" -a --info=progress2 --exclude '*.log' --exclude 'node_modules/' --exclude '.scannerwork/' $devUserName@$devHost:$projectDevPath $projectDestPath
  5. terminal-restore
  6. echo -e " + Fichiers \e[1;92mrécupérés \e[0mvers \e[1m$projectDestPath\e[0m"
  7. terminal-save
  8. echo "Build du projet"
  9. # get distant (but rsync in local) database parameters
  10. cd $projectDestPath
  11. npm install
  12. npm run build
  13. {#if [[ -f .env.local ]]; then#}
  14. {#    ENV_FILE=".env.local"#}
  15. {#elif [[ -f .env ]]; then#}
  16. {#    ENV_FILE=".env"#}
  17. {#else#}
  18. {#  echo#}
  19. {#  echo "Erreur"#}
  20. {#  echo "Détection .env.local inexistant";#}
  21. {#  exit 1#}
  22. {#fi#}
  23. terminal-switch-first