- Print
- DarkLight
- PDF
Windows 10
- Print
- DarkLight
- PDF
Setting up QuickMeet.Chat on Windows requires using the WSL2. Windows Subsystem for Linux 2 (WSL2) is a complete architectural overhaul of Linux on Windows, which installs an entire Linux kernel (built by Microsoft) alongside the classic Windows kernel. The Linux and Windows kernels can now share system resources, such as memory and CPU, at a previously impossible granularity.
Prerequisites
Software requirements
Windows 10, version 2004 or above.
Install and configure WSL 2 following the Microsoft documentation. The default Linux distribution to be installed is Ubuntu.
Download and install the latest Linux kernel updates.
Machine requirements
To set up QuickMeet.Chat development environment, you'll require a Windows machine that meets the following minimum specifications:
12 GB of RAM (16+ GB highly recommended)
Four or more cores on CPU (at least 3 GHz boosted, 4.2 GHz or higher recommended)
80 GB of available fast SSD storage (PCIe 4.0 NVMe SSD recommended)
Set up a QuickMeet.Chat development environment on Windows
Open the Ubuntu WSL 2 shell and update the distro by running this command:
sudo apt-get update && sudo apt-get dist-upgrade -yInstall the necessary build tools:
sudo apt-get install build-essential python3 make g++Install Node.js either manually or using a tool like nvm or volta.
Check the local development prerequisite to see the required NodeJS version for QuickMeet.Chat.
Install Deno by running:
curl -fsSL https://deno.land/install.sh | sh
Install Meteor with the command below - replacing x.x with the correct version number:
curl https://install.meteor.com/?release=x.x | shNote: Depending on the QuickMeet.Chat version, you may need to install a specific Meteor version:
For QuickMeet.Chat <=6.x.x, use Meteor 2.x
For QuickMeet.Chat >=7.x.x, use Meteor 3.x
Always verify the required Meteor version for your QuickMeet.Chat instance by checking the .meteor/release.
After installation, verify the version by running:
meteor --versionYou should see the installed version displayed in your terminal.
Install the
yarnpackage manager with this command.npm install --global yarnFork the QuickMeet.Chat repository on GitHub.
To install Git on Linux, see the official guide.
Open the WSL 2 shell, navigate into the (~/home/yourusername) directory. Clone the forked repository by running the command below:
git clone https://github.com/<your-username>/QuickMeet.Chat.git
Navigating into the specified directory above is necessary, otherwise, MongoDB won't start
Navigate into the QuickMeet.Chat directory and install all the dependencies by running these commands:
cd QuickMeet.Chat yarn
During the build, you may notice warnings about peer or transitive dependencies. These are typically safe to ignore unless you are developing the specific features or modules that require them.
When completed, build and run the server by executing this command:
yarn dsv
The first build can take ten or more minutes, and you may see various warnings or minor errors. Subsequent dev builds will take lesser time.
A successful running server will open up port 3000 on your machine where you can access QuickMeet.Chat using any browser or the QuickMeet.Chat client app through http://localhost:3000
Edit QuickMeet.Chat files on Windows
On Windows 10, the recommended IDE to use is Visual Studio Code. Install Visual Studio Code from Microsoft’s store and ensure you install the VS Code extension named Remote - WSL. Optionally, you can install the Windows Terminal extension.
To edit QuickMeet.Chat files,
Open the cloned repository folder in your IDE.
When you make changes to QuickMeet.Chat the server will automatically rebuild.
Sometimes, changes can shut down the server. If that happens, run
yarn dsvagain.
Troubleshooting
Fixing symbolic link issues with libcuda.so.1
libcuda.so.1Please follow these steps if you encounter the error message, “/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link” while building your QuickMeet.Chat project.
Open a terminal and check the status of the
libcuda.so.1file by running:ls -l /usr/lib/wsl/lib/libcuda.so.1If the output shows this:
-r-xr-xr-x 1 root root 154088 Dec 19 2023 /usr/lib/wsl/lib/libcuda.so.1This means the
libcuda.so.1file exists but is not a symbolic link, as indicated by the file permissions and type (-r-xr-xr-xindicates a regular file, not a symbolic link). To resolve this issue, remove this file and create a symbolic link pointing to the correctlibcuda.sofile.Remove
libcuda.so.1file:sudo rm /usr/lib/wsl/lib/libcuda.so.1Check for the actual
libcudafiles in the directory to determine the correct target for the symbolic link:ls -l /usr/lib/wsl/lib/Look for the actual
libcudafiles, such aslibcuda.so.1.1.Create a symbolic link, assuming
libcuda.so.1.1is the correct target file:sudo ln -s /usr/lib/wsl/lib/libcuda.so.1.1 /usr/lib/wsl/lib/libcuda.so.1Verify the symbolic link is set up correctly:
ls -l /usr/lib/wsl/lib/libcuda.so.1The output should show that
libcuda.so.1is a symbolic link pointing tolibcuda.so.1.1(or another appropriate version):lrwxrwxrwx 1 root root 31 Jun 24 19:04 /usr/lib/wsl/lib/libcuda.so.1 -> /usr/lib/wsl/lib/libcuda.so.1.1Clean Yarn cache:
yarn cache cleanInstall dependencies and build the project:
yarn yarn dsv
For more troubleshooting guides, check out the development environment troubleshooting.
Now that your development server is running, you can contribute to the QuickMeet.Chat server! See participate in QuickMeet.Chat development to learn more about QuickMeet.Chat contributions.