Ubuntu on Windows 10 WSL

Prerequisites

Have WLS installed and enabled with Ubuntu 20.04 installed, see "Install Ubuntu on Windows 10"arrow-up-right.

In Windows create the following folder structure, where it's suitable for you on the C: drive Documents\workspace\microting, in this example we asume it's located like this: C:\Users\yourname\Documents\workspace\microting In order for you to be able to do git clones in Ubuntu onto your C: drive, we have to change the mounting of the C: drive. Open the Ubuntu window and execute, see "Chmod/Chown WSL Improvements"arrow-up-right:

sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata

When that is done, we can symbolic link the directory structure, to ensure our Linux scripts work as expected in WSL, so execute the following:

ln -s /mnt/c/Users/yourname/Documents/ Documents

Now we have the following structure in our home directory of the linux user: /home/ubuntu/Documents From now on all sh scripts can be executed inside the Ubuntu terminal and you can either follow the Ubuntu/OSX guides or use node/C# from within Windows and follow the rest of the guide.

Step 1:

On google type "mySQL windows" or go to this link:

Step 2:

cd %HOMEPATH%

mkdir Documents\workspace microting

cd Documents\workspace\microting

git clone https://github.com/microting/eform-angular-frontend.git

Step 3:

Download and install node.JS 12.x Windows installer https://nodejs.org/en/download/arrow-up-right

Step 4:

Step 5:

Download install .Net core 2.2 SDK for WINDOWS

Step 6:

Step 7:

Step 8:

In your webbrowser go to "localhost:4200"

Thereafter fil out the form

OBS! Remember to use the token and customer number you have received from Microting

OBS! If you havent received a token or customer number, then use this standard token and customer number:

  • Token: abc1234567890abc1234567890abcdef

  • Customer Number: 420

OBS! In "Authentication Type" write "user = root;"

OBS! In "Authentication Type" if a password is needed by your mysql write "user=root;password=*yourpassword*;"

After filling form Click button "Save"

Look at screenshot below:

Step 9:

Login with your Email and Password

Enjoy!

Last updated

Was this helpful?