local server setup