How to edit the discourse files? A development box?

You need to set up a development environment to edit files and see changes. In production, lots of stuff is cached, so changes don’t show up.

If you want to see the files

cd /var/discourse 
. /launcher enter app 
cd src
ls