add requirements and make tempate and static dirs relative