setup site and log with ORM