Prepare public directory