Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

irazasyed/zray-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Zend Z-Ray Installer for Laravel Homestead

Software License

Zend Z-Ray Installer for Laravel Homestead. Simple shell script that automatically installs the Zend Z-Ray with no user interaction required on a Laravel Homestead box.

Pre-Requisites

Installation

1. SSH into your Laravel Homestead Box (homestead ssh)

2. Just fire the following command:

$ curl -sSL http://lk.gd/zray-install | bash

3. Edit Homestead File homestead edit and add under cpus directive:

ports:
    - send: 10081
      to: 10081

4. Restart and Provision Homestead:

homestead halt
homestead up --provision

That's it, Now open any of your homestead site and you should start seeing the Z-Ray Bar at the bottom of the page. You can access the admin panel for any of your homestead site by visiting the admin port 10081. Example: http://example.vm:10081/

NOTE: If Z-Ray does not load and you are getting a 500 error in your browser console, it may be necessary to re-apply the permissions to the Z-Ray folder:

homestead ssh
sudo chown -R vagrant:vagrant /opt/zray

Additional information

Any issues, please report here

Inspired to create this script by this tutorial by Mike Bronner

Contributions

Contributions are always welcome, Please create a PR.

License

MIT © Syed Irfaq R.