Parsoid/Roundtrip

The Parsoid Roundtrip Test Runner is a two-part system.

Server
First, to run the server, you should run

cd Parsoid/js/tests/server npm install sqlite3 pages.db < sql/create-everything.sql node importJson.js titles.example.json node server.js pages.db
 * 1) Make sure you have sqlite3 installed or this won't work

If all goes well, you'll have a local instance of our test environment. If there are errors (and those errors aren't related to you not having Node, NPM, or sqlite3 on your system), contact the team on IRC or mailing list (see the main Parsoid wiki page for that).

Client
Now, to run the clients, do

cd Parsoid/js npm intall cp config.example.js config.js vi config.js cd tests/client node client.js
 * 1) This next command will open an editor--change the file as needed

That should give you all of the environment you need and set up the client to run.

Results
Now, assuming you are running the server locally, you should be able to visit to see the results of your local testing. If you need any help with the above, please contact the Parsoid team.