Giter Site home page Giter Site logo

almibiakmal / gravityview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gravitykit/gravityview

0.0 2.0 0.0 21.11 MB

The best, easiest way to display Gravity Forms entries on your website.

Home Page: https://gravityview.co

JavaScript 7.11% CSS 4.65% PHP 87.69% HTML 0.24% Shell 0.31%

gravityview's Introduction

GravityView (Floaty loves you!)

Build Status Scrutinizer Code Quality Coverage Status

GravityView is a commercial plugin available from https://gravityview.co. The plugin is hosted here on a public Github repository in order to better facilitate community contributions from developers and users. If you have a suggestion, a bug report, or a patch for an issue, feel free to submit it here.

If you are using the plugin on a live site, please purchase a valid license from the website. We cannot provide support to anyone that does not hold a valid license key.


Installing GravityView from Github

The plugin includes Git submodules that need to be included in the download for the plugin to be functional. In order to create a proper .zip file:

  1. Clone the GravityView repo on your computer using the Github app
  2. Install Homebrew
  3. Run brew install git-archive-all
  4. Use the following command in the Terminal:
cd /path/to/gravityview/
git-archive-all ../gravityview.zip

This will create a gravityview.zip file in the directory above the cloned GravityView plugin on your computer, which includes the submodules.

Run Unit Tests

The plugin uses PHPUnit as part of development process. Installing the testing environment is best done using a flavor of Vagrant (try Varying Vagrant Vagrants).

  1. From your terminal SSH into your Vagrant box using the vagrant ssh command
  2. cd into the root of your GravityView directory (VVV users can use cd /srv/www/wordpress-default/wp-content/plugins/gravityview/)
  3. Run bash tests/bin/install.sh gravityview_test root root localhost where root root is substituted for your mysql username and password (VVV users can run the command as is).
    • If you are running locally and have Gravity Forms installed, the script will check for /gravityforms/ directory in your plugins folder. If it exists, it will use that directory.
    • If the script doesn't find a Gravity Forms directory, it will need the path to Gravity Forms directory or the URL of a .zip file passed as the 6th parameter. Example: bash tests/bin/install.sh gravityview_test root root localhost latest http://example.com/path/to/gravityview.zip or bash tests/bin/install.sh gravityview_test root root localhost latest ../gravityview/
  4. Upon success you can run phpunit

If you want to generate a code coverage report you can run the following phpunit --coverage-html "./tmp/coverage" and then a report will be generated in the /tmp/coverage/ subdirectory of the GravityView plugin.


Thanks to:

gravityview's People

Contributors

zackkatz avatar bordoni avatar dmlinn avatar gedex avatar almibiakmal avatar mgratch avatar m-e-h avatar naomicbush avatar scrutinizer-auto-fixer avatar

Watchers

James Cloos avatar  avatar

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.