Parsoid/Roundtrip

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

Server
To run the server, from the main Parsoid repo, run

cd tests/server npm install cp server.settings.js.example server.settings.js vi server.settings.js mysql pages.db < sql/create-everything.mysql node importJson --prefix=enwiki titles.example.en.json node importJson --prefix=eswiki titles.example.es.json node server
 * 1) This next command will open an editor--change the file as needed
 * 1) Make sure you have mysql installed and have pre-created a mysql database named 'pages', 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 MySQL 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, from the main Parsoid repo, run

npm install cp tests/client/config.example.js tests/client/config.js vi tests/client/config.js node tests/client/client
 * 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.

The Parsoid team's results are here.