Advertisement
killtdj

poj_panduan

Jun 27th, 2023
637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.74 KB | None | 0 0
  1. // requirements
  2. 1. Nodejs [https://nodejs.org/dist/v16.16.0/node-v16.16.0-x64.msi]
  3. 2. Xampp [https://www.apachefriends.org/]
  4.  
  5. // clone
  6. git clone https://cicd.optimajasa.co.id/danudenny/poj-web/ (master)
  7. git checkout staging
  8.  
  9. // create branch baru ketika mau ngoding
  10. git checkout -b nama_branch(feature/No Tiket)
  11.  
  12. git add .
  13. git commit -am "[W2.001] title"
  14. git push origin feature/No Tiket
  15.  
  16. // ketika sudah selesai di merge
  17. get checkout staging
  18. git pull origin staging
  19.  
  20.  
  21. // serve project nya
  22. .env udah sesuai sama credential db local
  23. DB_CONNECTION=pgsql
  24. DB_HOST=localhost
  25. DB_PORT=5434
  26. DB_DATABASE=attdev_poj_db
  27. DB_USERNAME=postgres
  28. DB_PASSWORD=masterpass
  29.  
  30. php artisan optimize
  31. php artisan serve
  32. npm run dev
  33.  
  34. localhost:8000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement