Trailing slash and subfolder setup

I am not following are any changes needed to: Serve Discourse from a subfolder (path prefix) instead of a subdomain ? What changes do you recommend be made to the demo template there?