Yes, it matters. Replace the cd /var/discourse with the actual location of your files.
cd /var/discourse