sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.78k stars 1.58k forks source link

how to edit .html file in template #437

Open ahmadsolehin opened 9 years ago

ahmadsolehin commented 9 years ago

ok. i manage to run this lets-chat.., using vagrant.. my question is,, how to edit a .html file in template folder.. i have edit a text in .html file,,. but when i'm refresh page, it doesnt effect anything..

geoffwhittington commented 9 years ago

Did you restart the server?

ahmadsolehin commented 9 years ago

Yes😢..

geoffwhittington commented 9 years ago

Did you force refresh your browser?

ahmadsolehin commented 9 years ago

I hav shut down and restart my pc.. But it doesnt work.. Hmmm..

geoffwhittington commented 9 years ago

Its hard to say what the issue is without seeing your code. But if you changed the HTML in the app, you restarted the lets chat server, and definitely forced refresh the browser (PC restart may not be sufficient) then I don't know. The next step is to open a new tab in Incognito mode (Chrome) and try again. If there is logic in the HTML somehow it could be that the logic is not triggered true to render your changes. I'm out of ideas at this point, but I suspect its your browser.

ahmadsolehin commented 9 years ago

or need to edit in settings.yml.sample or another file? hmmm,,can u suggest to me,,. where can i find chat room like this?

brooksbrown commented 9 years ago

Not sure if this is related to the same issue you are having, but I noticed the Vagrantfile provided clones the letschat repo into the vagrant home directory rather than using the repo shared at /vagrant. I have a modified Vagrantfile at https://gist.github.com/brooksbrown/e1d19a7adc1de76c9619, which will allow editing files in the original directory.

Note you will need to vagrant ssh && start-lets-chat to get it running