Add deploy.conf
Fix bug on mysql

maxlength of index