add script to run local server for jointest.