An open API service indexing awesome lists of open source software.

https://github.com/jquery-validation/validation-content

Content for jQuery Validation Plugin website and official docs
https://github.com/jquery-validation/validation-content

Last synced: 10 months ago
JSON representation

Content for jQuery Validation Plugin website and official docs

Awesome Lists containing this project

README

          

jqueryvalidation-content
========================

## Building

### Requirements

* libxml2
* libxslt

The `xmllint` and `xsltproc` utilities need to be in your path. If you are on Windows, you can get libxml2 and libxslt from GnuWin32.

* Install [WordPress](http://wordpress.org/download/)
* Install [jqueryvalidation-theme](https://github.com/jzaefferer/validation-theme) - clone that repo, then symlink it into your `wp-content/themes` folder
* Install [gilded-wordpress plugin](https://raw.githubusercontent.com/scottgonzalez/gilded-wordpress/v1.0.0/gilded-wordpress.php)
* Install [jquery-static-index plugin](https://raw.githubusercontent.com/jquery/jquery-wp-content/v4.0.1/plugins/jquery-static-index.php)

### Installation

In this repo:
* Make sure nodejs (with npm) is installed, otherwise install from nodejs.org
* `cp config-sample.json config.json`, edit config.json to match login for local WordPress
* run `npm install -g grunt-cli`
* run `npm install`

### Hacks

* Make sure your local `wordpress` nodejs module contains [this commit](https://github.com/scottgonzalez/node-wordpress/commit/2b19238cf8064dafb66b9db09d0adcc9eac7f724)
* Make sure your local config contains
* rpc-auth and basic-auth credentials
* a https jqueryvalidation url

### Deploy

`grunt deploy`