Changed settings file to dynamically set database. Added database files to gitignore.