Set static and template directories in settings