add public folder to .gitignore
fix relative paths