Cómo instalar Discourse en LocalHost en Windows

Quisiera instalar Discourse en mi máquina local. Tengo Windows 8 como sistema operativo. Por favor, ayúdame con la instalación de Discourse en mi localhost.

He instalado mi sitio web en mi equipo local y ahora quiero instalar Discourse.

helicalinsight.com (este es mi sitio web) y tengo el foro de Discourse en mi sitio web: forum.helicalinsight.com

Ahora quiero que el foro esté en forum.localhost (¿es esto posible?).

No tengo ningún conocimiento sobre aplicaciones en Rails (también seguí esta guía, pero no me ayudó: Discourse as Your First Rails App | BlogDiscourse).

Gracias.

1 me gusta

Have a look at Beginners Guide to Install Discourse on Windows 10 for Development for details about setting up a dev environment on Windows. You will need to upgrade from Windows 8. An alternative would be to install Linux on your computer and then follow Beginners Guide to Install Discourse on Ubuntu for Development.

7 Me gusta

[command line instructions ahead…]

Vagrant, a virtual machine manager written in Ruby, is an option for Windows 8; it provides a WSL-like environment (Windows Subsystem for Linux, a Windows 10 feature).

Vagrant can use Docker, Hyper-V or VirtualBox as a virtual machine provider, in case you already have one of those installed. If not, the easiest tool to use for setup is Chocolatey; once Chocolatey is installed, the command choco install -y virtualbox vagrant will install both Vagrant and VirtualBox.

From there, follow the Vagrant Project Setup guide to install an Ubuntu VM, e.g. vagrant init hashicorp/bionic64 (or bionic32 if your Windows 8 install is 32-bit).

Beginners Guide to Install Discourse on Windows 10 for Development should be usable from there (I hope).

3 Me gusta

Note. Vagrant is not supported at all, you would use either a VM or WSL2 which is probably the easiest.

8 Me gusta

Vagrant is just a VM manager, for VMs provided by Microsoft’s Hyper-V, or VirtualBox, or VMware (more involved setup, but possible to use). In that sense, Vagrant is a lot like WSL2 which just provides a specialized Hyper-V VM with some additional Microsoft-sanctioned Windows/Linux integration.

1 me gusta

I may be mistaken but the expectation with vagrant would be that we maintain config for it and publish an image. These are 2 things that are not on the table.

For a very low touch setup that allows you to go from 0 - 100 very quickly use WSL2 + Docker dev

Beginners Guide to Install Discourse for Development using Docker

4 Me gusta

Olvidé que este hilo había quedado pendiente. Vagrant es simplemente una herramienta de desarrollo (un administrador de máquinas virtuales) que no necesita estrictamente un archivo de configuración para ser útil, y mucho menos una imagen dedicada (puede levantar rápidamente una VM capaz de alojar Docker y ejecutar scripts de Discourse como discourse-setup y launcher sin problemas).

Ya existe un archivo Vagrantfile en discourse_docker/blob/master/Vagrantfile y unas instrucciones sencillas al final de discourse_docker/blob/master/README.md para trabajar en discourse_docker.