Ich möchte Discourse auf meinem lokalen Rechner installieren. Ich verwende Windows 8 als Betriebssystem. Bitte helfen Sie mir bei der Installation von Discourse auf meinem lokalen Host.
Ich habe meine Website bereits lokal installiert und möchte nun Discourse installieren.
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).
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.
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
Ich habe vergessen, dass dieser Thread unbeendet blieb. Vagrant ist lediglich ein Entwicklungstool (ein VM-Manager), das nicht zwingend eine Konfigurationsdatei benötigt, um nützlich zu sein, und sicherlich auch kein dediziertes Image (es startet schnell eine VM hoch, die Docker hosten und Discourse-Skripte wie discourse-setup und launcher problemlos ausführen kann).