setup a local server for testing