I installed discourse through DigitalOcean with the instructions here
The instructions read:
If you need to change or fix these settings after bootstrapping, edit your /containers/app.yml file
I am at the command prompt and logged into the ssh workspace
root@discourseforum:~#
Can someone please explain how I open the “/containers/app.yml file” file to edit it?
jomaxro
(Joshua Rosenfeld)
31 يناير 2017، 1:57ص
2
This should work:
cd /var/discourse
nano containers/app.yml
This just gives me a black screen. How do I access the text file to make changes?
jomaxro
(Joshua Rosenfeld)
31 يناير 2017، 2:01ص
4
Hmm…is the file not there?
What do you get when you run:
cd /var/discourse/containers
ls -la
Also, just to check, when you ran the commands in my previous post, you didn’t put a slash in front of containers, right?
thanks this works after i started over with a fresh install from a fresh droplet. it wasn’t working previously thanks.
يمكنك استخدام أحد القوالب الموجودة في مجلد templates. على سبيل المثال، إذا كنت ترغب في تشغيل خادم مستقل، فما عليك سوى استخدام ملف standalone.yml.
مثال:
cp /var/discourse/samples/standalone.yml /var/discourse/containers/app.yml
يمكنك إجراء التغييرات اللازمة داخله.
على حد علمي، عندما لا تكون داخل الحاوية، فإن containers هي مجلد فرعي من /var/discourse؛ لا توجد مجلدات /containers. لذا ما لم أكن مخطئًا، يجب أن تقرأ السطر “or edit /containers/app.yml manually” في INSTALL.md “or edit containers/app.yml manually” أو “or edit /var/discourse/containers/app.yml manually”.