Skip to content

Instantly share code, notes, and snippets.

@mrjosh
Last active December 31, 2016 11:50
Show Gist options
  • Save mrjosh/0ee2086d8ebbf9b9863fec38b2bd3d7d to your computer and use it in GitHub Desktop.
Save mrjosh/0ee2086d8ebbf9b9863fec38b2bd3d7d to your computer and use it in GitHub Desktop.
Laravel queue service installer
#!/bin/bash
# @author Alireza Josheghani <[email protected]>
# @since 26 Dec 2016
# @package Laravel queue service installer
# download the source form github
if [ ! -f develop.tar.gz ]; then
wget https://github.com/iamalirezaj/laravel_queue_service/archive/develop.tar.gz
fi
# extract archive
tar -xvf ./develop.tar.gz
# remove the tar file
rm ./develop.tar.gz
# change directory to source
cd ./laravel_queue_service-develop/
# execute install script
./install
# remove the source directory
rm -r ../laravel_queue_service-develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment