Code Monkey home page Code Monkey logo

vvv-dashboard's Introduction

VVV-Dashboard

A Beautiful, Simple and Easy-To-Use Dashboard for Varying Vagrant Vagrants (VVV).

Note: Does not support VVV2

image

Because working in terminal and trying to manage all your VVV installs via terminal is not always easy, VVV Dashboard hopes to add a layer of ease and beauty between you and your vagrants. It displays a list of sites that are installed in your VVV www path in a simple, beautiful way.

Version: 1.2.0

License: GPLv2

Requirements

Installation via terminal

Please be gentle with this method.

  • Firstly, you need to cd into your Vagrants www/default/ directory
  • Secondly, clone repository.
  • Thirdly, move the VVV-Dash-Files-tmp/dashboard directory into the default folder.
  • Fourthly, move the VVV-Dash-Files-tmp/dashboard-custom.php into the default folder.
  • Lastly, delete the VVV-Dash-Files-tmp folder * use with care.
git clone [email protected]:leogopal/VVV-Dashboard.git VVV-Dash-Files-tmp
sudo ditto VVV-Dash-Files-tmp/dashboard dashboard/
sudo ditto VVV-Dash-Files-tmp/dashboard-custom.php dashboard-custom.php
sudo rm -rf VVV-Dash-Files-tmp

Installation Manual (recommended for most users)

Safest and simplest method, however if you are proficient with terminal, that is the quickest method.

  • Download this repository.
  • Copy the dasboard folder to your Vagrants www/default folder.
  • Copy the dashboard-custom.php file to your Vagrants www/default folder.
  • Delete repository (its no longer needed).
  • You're done.

Issues and Feature Requests

If you have any suggestions, or would like to report a potential bug (or just to say hi or complain), feel free to Open an Issue. You can also hit me up on twotter @leogopal.

Contributing

If you would like to contribute, please view the Contributing guide.

Recommended VVV Site Creation Wizard

VVV-Dashboard comes built with references for Variable VVV, one of the best VVV Site Creation for WordPress Vagrants around. Variable VVV was created by Brad Parbs and its highly recommended that you install it to get the best out of VVV-Dashboard and your VVV WordPress Dev Environment. Some features of VVV you may like:

  • Easily create sites with vv create
  • Easily remove sites with vv delete
  • Create Blueprints to set up different plugins, themes, mu-plugins, options, or constants that will be installed to a new site you create.
  • Set-up deployments with vv --deployment-create that work with vagrant push

Mentions

Change Log

All notable changes to this project will be documented in the CHANGELOG.md.

To-do

Enhancements

  • Add a simple GUI for vv to the Dashboard.
  • Make the Dashboard more friendly to WordPress Developers by linking to Dev Resources. (not just VVV resources).
  • Have a 'getting started' with VVV and vv section
  • Have a basic troubleshooting area for VVV and vv (simple things we commonly do wrong)
  • Find method for better updating to newer versions.
  • Find a way of displaying whether WP_DEBUG true or not.
  • Find a way to make sure a site is a WordPress site.
  • Check whether Variable VVV is installed, and version, check if up to date.
  • Add Variable VVV Demo Blueprints.

Thanks and Credits

Bitdeli Badge

vvv-dashboard's People

Contributors

bitdeli-chef avatar bouchaala-sabri avatar brookedot avatar ehlovader avatar ihorvorotnov avatar imgbotapp avatar kadimi avatar leogopal avatar robneu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vvv-dashboard's Issues

Avoid using 301 redirect

It has happened to me more than once since using this dashboard that the site isn't fully up but my browser gets redirected to /dashboard/index.php since vvv is the default site.

Since this redirect is a 301 it will require clearing cache. I think it would be best to use a 302 or better a 307 redirect to avoid the browser skipping past the site when it is available.

Simple GUI wrapper for VV

I've been thinking about creating a simple GUI for VV, as most things can be completely done as flags to the command.

You could do an exec( 'which vv' ) to see if vv is installed, and if so, you could have an "Add new site button" that prompts for a few options (site name, etc) and then just passes all of that to an exec() where vv takes care of all the dirty work of creation.

vvv.dev not opening sites I create.

I recently setup vagrant on my new machine it worked the same way on my old one every time. I am trying to creating a new site called ariops which does show in active sites however when I click on WP Admin it says:

Server not found

Firefox can’t find the server at ariops.dev.

Check the address for typing errors such as ww.example.com instead of www.example.com
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Here are the exact steps I used to install Vagrant:

clear

git clone https://github.com/leogopal/VVV-Dashboard

mv VVV-Dashboard/dashboard* www/default/

vagrant up

Then I create the site with:

  • ~/Vagrant/vv ./vv create

Any assistance would be greatly appreciated if I select any of the default sites they login.

Handle disabled opcache gracefully

When the opcache is disabled (opcache.enable=0), then the dashboard opcache screen could handle this a little nicer than throwing an error:

screenshot 2016-05-09 11 34 37

list-unstyled not working

For some reason, the list-unstyled class isn't working correctly and the command list is displayed using bullets. I'm not sure if this is intentional or not. If so, you can disregard this.

list-unstyled

Change Row Layout to Display Like Tables

Right now it's a little difficult to quickly visualize which VVV install belongs to which set of buttons. Adding some striping and/or seperation to the rows would make this a lot easier. A hover state would also be really helpful.

I'm not sure how possible it is to do in Foundation, but I think the easiest way to achieve this would be to apply table styling to the row elements. Ideally this would be done without changing the markup to use tables, but if you had to do that because of foundation it wouldn't be the end of the world.

http://foundation.zurb.com/docs/components/tables.html

Scan subfolders

I like to keep my /www/ folder a little bit organised with various folders containing a certain group of sites. Having VVV-Dashboard list sites in these subfolders would be a welcome addition.

504 Gateway Error

Any idea why when I use this it gives me a 504 Error?

Refresh doesn't fix it and vvv.dev works fine without this installed. Thoughts on what to check locally?

Thanks.

Install Instructions Issue

Hi,
The install instructions via Terminal issue a permissions error:
git clone [email protected]:leogopal/VVV-Dashboard.git

Is better to do"
git clone https://github.com/leogopal/VVV-Dashboard.git VVV-Dash-Files-tmp

Reduce Padding and Spacing?

First of all, great work. :)

One minor suggestion I have about the display is that all of the items on the page kind of take up more space than seems necessary. The notifications and the button groups seem like they both could be slimmed down a bit to fit more information on the page. Here's what I was thinking:

Before

vvv-before

After

vvv-after

Add MailCatcher to the menu

MailCatcher is available with VVV out of the box. Pretty useful tool. However, it's not available in the 'Built in VVV Tools' menu. Adding it is a one minute quick fix. Going to send a PR in a minute.

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.