Set up production and development database