Parsoid/Roundtrip
Appearance
< Parsoid
The Parsoid Roundtrip Test Runner is a two-part system.
Server
[edit]To run the server, from the main Parsoid repo, run
cd tests/server npm install cp server.settings.js.example server.settings.js # This next command will open an editor--change the file as needed vi server.settings.js # Make sure you have mysql installed and have pre-created a mysql database named 'pages', or this won't work 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
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
[edit]Now, to run the clients, from the main Parsoid repo, run
npm install cp tests/client/config.example.js tests/client/config.js # This next command will open an editor--change the file as needed vi tests/client/config.js node tests/client/client
That should give you all of the environment you need and set up the client to run.
Results
[edit]Now, assuming you are running the server locally, you should be able to visit [1] 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.