Menu

Laravel pre-distribution clean up and package!!

0 Comment

Laravel pre-distribution clean up and package to zip project excluding files that don’t need to be shipped

  1. You can create a file called deploy on your Linux system or Windows using git bash.
  2. In Linux, make it executable.
  3. Check that you have zip package installed in Linux
  4. Copy the contents to deploy.
  5. When ready to zip your file run ./deploy on your terminal. This will create a zip file in your target directory with version number and name of the file. If a older version already exists, it will create an incremental version by 1.