Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sourabhmodi's avatar

Laravel 5.2 + Angular2 App : GitLab - Jenkins - Continuous Deployment

Hi All, I need your help to setup continuous deployment on my production server. I have a Laravel 5.2 + Angular2 App. I am using webpack and webpack dev server in my development environment. I am not using Laravel elixir in any manner(due to competencies issues.)

For now, I am creating my final build using below command

ng build --aot --prod --output-hashing none

Once my output js files are prepared i create symlinks for them from dist folder to public folder.

I am using GitLab as my version control system. I have a dedicated server. Right now I pull code on my live server and as the build files are not under my version control so I create a .zip file of my public folder and push that on my server and that's the nasty was that I am using right now.

Please help to share what should be my deployment process and I have limited competencies for both Continuous Deployment and Jenkins so please help to elaborate details as well.

0 likes
0 replies

Please or to participate in this conversation.