Set .gitingnore, and database settings