Giter VIP home page Giter VIP logo

zray-installer's Introduction

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.

zray-installer's People

Contributors

irazasyed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zray-installer's Issues

Update your z-ray download link

The old Z-ray download link is expired... please use the new z-ray download link...

http://downloads.zend.com/zray/3105/zray-php-106540-php5.6.17-linux-debian7-amd64.tar.gz

pre-existing zray.conf file causes nginx to fail

I had followed the tutorial originally posted in laravel-news and then saw your comment with install script so I uninstalled but left the /etc/nginx/conf.d/zray.conf intact from original installation. I followed the instructions on your site to install, btw great job!
Your script appends the configuration to the /etc/nginx/conf.d/zray.conf if it was previously existing which caused nginx to fail to start properly. I edited the zray.conf and removed the duplicate entry and restarted nginx an fpm and all worked properly.

Even with this little issue it is a great script and I will be implementing it on our other dev machines today! Great work and thanks for the contribution!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.