install_frontend_dependencies.sh 600B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/bash
  2. . bash_library.sh # source bash_library.sh
  3. # install Tracim Lib
  4. log "cd frontend_lib"
  5. cd frontend_lib
  6. log "npm i"
  7. npm i
  8. log "sudo npm link"
  9. sudo npm link
  10. cd -
  11. # install app Html Document
  12. log "cd frontend_app_html-document"
  13. cd frontend_app_html-document
  14. log "npm i"
  15. npm i
  16. log "npm link tracim_frontend_lib"
  17. npm link tracim_frontend_lib
  18. cd -
  19. # install app Thread
  20. log "cd frontend_app_thread"
  21. cd frontend_app_thread
  22. log "npm i"
  23. npm i
  24. log "npm link tracim_frontend_lib"
  25. npm link tracim_frontend_lib
  26. cd -
  27. # install Tracim Frontend
  28. log "cd frontend"
  29. cd frontend
  30. log "npm i"
  31. npm i
  32. cd -