Estou trabalhando no Windows 10. Como instalar o Discourse no localhost?
Acho que preciso usar o yarn, mas há muitos erros…
D:\discourse>yarn
yarn install v1.22.0
$ node -e "if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('NPM não é suportado, use o Yarn em vez disso. ')"
[1/4] Resolvendo pacotes...
[2/4] Buscando pacotes...
[error] Não foi possível encontrar correspondência para "1b10552510a1ec13a3d30d46281dc268553ad157" em "refs/heads/9-17-stable,refs/heads/9-18-stable,refs/heads/cli,refs/heads/css_consistency,refs/heads/egor-rogov-tsql,refs/heads/javascript/add-jsdoc,refs/heads/jsdom,refs/heads/master,refs/heads/v10-temp,refs/heads/yyyc514-patch-1,refs/tags/10.0.0-beta.0,refs/tags/5.10,refs/tags/5.11,refs/tags/5.12,refs/tags/5.13,refs/tags/5.14,refs/tags/5.3,refs/tags/5.4,refs/tags/5.5,refs/tags/5.6,refs/tags/5.7,refs/tags/5.8,refs/tags/5.9,refs/tags/6.0,refs/tags/6.0.1,refs/tags/6.0beta,refs/tags/6.1,refs/tags/6.2,refs/tags/7.0,refs/tags/7.0.1,refs/tags/7.1,refs/tags/7.2,refs/tags/7.3,refs/tags/7.4,refs/tags/7.5,refs/tags/8.0,refs/tags/8.0beta,refs/tags/8.1,refs/tags/8.2,refs/tags/8.3,refs/tags/8.4,refs/tags/8.5,refs/tags/8.6,refs/tags/8.7,refs/tags/8.8.0,refs/tags/8.9.0,refs/tags/8.9.1,refs/tags/9.0.0,refs/tags/9.1.0,refs/tags/9.10.0,refs/tags/9.11.0,refs/tags/9.12.0,refs/tags/9.13.0,refs/tags/9.13.1,refs/tags/9.14.0,refs/tags/9.14.1,refs/tags/9.14.2,refs/tags/9.15.0,refs/tags/9.15.1,refs/tags/9.15.10,refs/tags/9.15.2,refs/tags/9.15.3,refs/tags/9.15.4,refs/tags/9.15.5,refs/tags/9.15.6,refs/tags/9.15.7,refs/tags/9.15.8,refs/tags/9.15.9,refs/tags/9.16.0,refs/tags/9.16.1,refs/tags/9.16.2,refs/tags/9.17.0,refs/tags/9.17.1,refs/tags/9.18.0,refs/tags/9.18.1,refs/tags/9.2.0,refs/tags/9.3.0,refs/tags/9.4.0,refs/tags/9.5.0,refs/tags/9.6.0,refs/tags/9.7.0,refs/tags/9.8.0,refs/tags/9.9.0" para "https://github.com/highlightjs/highlight.js".
[info] Visite https://yarnpkg.com/en/docs/cli/install para documentação sobre este comando.
Estou na China e não consigo acessar o cloud.digitalocean.com. Há algum outro servidor?
Você quer um site de produção para outras pessoas usarem ou algo localmente na sua máquina para testar e desenvolver código?
Eu só quero testar em localhost (como: http://localhost:3000).
Entendido. Siga este guia aqui: Install Discourse on Windows for development
O comando bundle install vai baixar vários pacotes de servidores fora da GFW. Isso levará muito tempo. Na última vez que tentei de dentro, levou pelo menos duas horas.
Você deve pressionar [ENTER] quando terminar os testes.
Obrigado pela sua resposta!


