Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

w3c/validator-suite

Repository files navigation

W3C Validator Suite

Status

Note: W3C is not running Validator Suite nor intending to continue development at this time (see W3C communication from August 2015). Should there be interest from active developers in the community in furthering and maintaining it please let us know.

Since there is no resources from W3C nor the community supporting this project at present, we encourage people to fork.

Project dependencies

Java

You need the Java 7 JDK.

On Debian based systems use OpenJDK: apt-get install openjdk-7-jdk
On Windows hosts install Oracle's Java

Play Framework

W3C Validator Suite is based on the Play Framework.
The Play framework embeds its own scala version.

wget http://downloads.typesafe.com/play/2.2.1/play-2.2.1.zip
unzip play-2.2.1.zip
ln -s play-2.2.1 play

MongoDB

W3 Validator Suite uses MongoDB as its data storage.
The code has been tested with version 2.4+.

On Debian based systems (mongodb 2.4.8 is available in Debian Wheezy Backports): apt-get install mongodb
On Windows hosts install the latest "Production Release" of MongoDB.

Start geeking

Now start play and start playing!
First build will take time as it fetches all the dependencies.

git clone [email protected]:w3c/validator-suite.git
cd validator-suite
<path-to-play>/play

Some sample commands:

  • help - Displays Play help message.
  • tasks - Lists the tasks defined for the current project.
  • clean - W3C Validator Suite: Deletes files produced by the build, such as generated sources, compiled classes, and task caches.
  • doc - W3C Validator Suite: Generates API documentation.
  • run - W3C Validator Suite: Runs the application in dev mode.
  • run-main org.w3.vs.Main default - W3C Validator Suite: Resets the whole database and adds the root users.
  • test - W3C Validator Suite: Executes all tests.