GravityView is a commercial plugin available from https://gravityview.co. The plugin is hosted here on a public Github repository in order to better faciliate 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.
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:
- Clone the GravityView repo on your computer using the Github app
- Install the git-archive-all script
- Use the following command in the Terminal:
cd /path/to/gravityview/
python /usr/bin/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.
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).
- From your terminal SSH into your Vagrant box using the
vagrant ssh
command cd
into the root of your GravityView directory (VVV users can usecd /srv/www/wordpress-default/wp-content/plugins/gravityview/
)- Run
bash tests/bin/install.sh gravityview_test root root localhost
whereroot root
is substituted for your mysql username and password (VVV users can run the command as is). - 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.