Laravel pre-distribution clean up and package!!
POSTED ON 16, Aug 2017
Laravel pre-distribution clean up and package to zip project excluding files that don't need to be shipped
- You can create a file called deploy on your Linux system or Windows using git bash.
- In Linux, make it executable.
- Check that you have zip package installed in Linux
- Copy the contents to deploy.
- 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