set up dirs for spa
progress on server-side