setup db and git ignore