prepare a whole webapp