Fixed /directory rendering problem, added .gitignore, check db config b4 running