setup webserver and db as sample