local app setup