Setting up a Development environment on a Windows 10 computer

Install Ubutnu using the Windows Subsystem for Linux (WSL)

Full instructions here: https://learn.microsoft.com/en-us/windows/wsl/install

  1. Run PowerShell as an administrator.

  2. Run wsl --install. This will instal Ubutnu by default. See the link above to specify a different distro.

  3. You will need to restart and then run Ubuntu. Setup a UNIX user and password.

  4. Follow the Development Instructions after installign depdnencies…

Install dependencies

rvm - Ruby Version Manager:

See instructions on the rvm Repo

Ruby Bundler

sudo apt install ruby-bundler

MySQL client

sudo apt-get install libmysqlclient-dev

Ruby

List all of the versions of Ruby available for installation through rvm with:

rvm list known

Select a version of Ruby and install it using rvm. At the time of writing, our gemfile specifies version 3.2.1

rvm install ruby-23.2.1

Set the newly installed version of Ruby as the global version:

rvm --default use 3.2.1

Verify the installation by checking the current version of Ruby:

ruby --version

Java Runtime and NodeJS

sudo apt install default-jre nodejs

Chrome Browser

This is required to run the CI tests.git

sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome*.deb