updated localhost example app
updated for foreman 1.0.0