setup preview server