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)
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)
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
その中で必要な変更を加えることができます。
AFAIK、コンテナ内にない場合、containers は /var/discourse のサブディレクトリであり、/containers ディレクトリは存在しません。したがって、私の勘違いでない限り、INSTALL.md の「または /containers/app.yml を手動で編集する」という行は、「または containers/app.yml を手動で編集する」または「または /var/discourse/containers/app.yml を手動で編集する」と読むべきです。