Fix local DB URL
Fix base url so it works with beanstalk