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)
Janeiro 31, 2017, 1:57am
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)
Janeiro 31, 2017, 2:01am
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.
bobbyiliev
(Bobby Iliev)
Fevereiro 4, 2020, 12:36pm
6
Você pode usar um dos modelos da pasta templates. Por exemplo, se quiser executar um servidor autônomo, basta usar o arquivo standalone.yml.
Exemplo:
cp /var/discourse/samples/standalone.yml /var/discourse/containers/app.yml
Lá, você pode fazer as alterações necessárias.
curiositry
(Curiositry)
Fevereiro 12, 2024, 10:46pm
7
Pelo que sei, quando não está no contêiner, containers é um subdiretório de /var/discourse; não existe um diretório /containers. Portanto, se não me engano, a linha “ou edite /containers/app.yml manualmente” em INSTALL.md deveria ser “ou edite containers/app.yml manualmente” ou “ou edite /var/discourse/containers/app.yml manualmente”.