Skip to content

GravityKit/GravityView

Folders and files

NameName
Last commit message
Last commit date
Nov 9, 2022
May 30, 2018
Jul 12, 2021
Mar 11, 2022
Dec 23, 2022
May 20, 2021
Jul 25, 2024
Dec 23, 2022
Jul 25, 2024
Jul 25, 2024
Dec 22, 2022
Dec 22, 2022
Feb 27, 2016
Feb 2, 2017
May 12, 2014
Nov 8, 2022
Nov 8, 2022
Jan 18, 2016
Nov 22, 2022
Jul 16, 2020
Jul 31, 2020
Oct 5, 2020
Dec 21, 2022
Dec 21, 2022
Dec 23, 2022
Jan 23, 2014
Nov 22, 2022
Nov 22, 2022
Aug 27, 2019
Mar 26, 2020
Apr 20, 2020
Jan 26, 2022
Dec 23, 2022
Oct 31, 2022
Dec 22, 2022

Repository files navigation

GravityView (Floaty loves you!)

CircleCI

GravityView is a commercial plugin available from https://gravityview.co. The plugin is hosted here on a public GitHub repository 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.


Installation Instructions

To install the plugin, clone this repo to your WordPress plugins folder and activate it. Alternatively, you can download the latest release to your WordPress plugins folder and then activate it.

For Developers

If you wish to make changes to the plugin, you need to install developer dependencies. First, a couple of prerequisites:

  1. Make sure that you have the full plugin source code by either cloning this repo or downloading the source code (not the versioned release) from the Releases section
  2. Install Composer
  3. Install Node.js
    • We recommend a Node.js version manager for Linux/macOS or Windows
    • Run npm install -g grunt-cli if this the first time you've installed Node.js or switched to a new version

Next, install dependencies:

  1. Run composer install to install Composer dependencies
  2. Run npm install to install Node.js dependencies

To compile/minify UI assets, use the following commands:

  1. grunt sass & grunt postcss to compile and minify CSS files
  2. grunt uglify to minify JavaScript files
  3. grunt imagemin to minify images

Unit Tests

The plugin uses PHPUnit as part of the development process. We offer preconfigured Docker containers and a custom Bash script to facilitate running tests against multiple PHP and WordPress versions in a predictable environment. Visit our Tooling repo for information regarding how to configure and run tests.

Acceptance Tests

The plugin uses Codeception for acceptance testing. To configure and run tests:

  1. Install and configure Docker
  2. Configure environment variables by running:
    • export GRAVITYFORMS_KEY=[YOUR GRAVITY FORMS KEY HERE]
    • export GRAVITYVIEW_KEY=[YOUR GRAVITYVIEW KEY HERE]
    • export PLUGIN_DIR=[/path/to/gravityview]
  3. Finally, cd to the GravityView plugin directory and run docker-compose -f tests/acceptance/docker/docker-compose.yml run codeception

See Codeception commands reference for a full list of available flags.


Acknowledgements

We are thankful to the following services and open source software that help enhance our plugin: