Sto cercando di installare discourse sul mio laptop per fare dei test prima di apportare modifiche alla mia versione reale. (scrivendo script che verranno eseguiti sulla vera istanza docker)
Il mio laptop non ha un nome di dominio, quindi non posso ottenere un certificato SSL Let’s Encrypt.
Come si fa a installare un’istanza solo http?
Ho commentato le righe SSL in app.yaml e ho provato a bypassare SSL con ./discourse-setup --skip-connection-test ma il bootstrap fallisce:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 3649 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.