> For the complete documentation index, see [llms.txt](https://docs.microting.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.microting.com/plugins/installing-a-plugin./installation-windows.md).

# Installation Windows

### Prerequisites for recommended process

Have WLS installed and enabled with Ubuntu 20.04 installed, see ["Install Ubuntu on Windows 10"](https://ubuntu.com/tutorials/ubuntu-on-windows#1-overview).

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"](https://devblogs.microsoft.com/commandline/chmod-chown-wsl-improvements/):

```
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:

```
cd 
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 follow the guide for ["Installation"](/plugins/installing-a-plugin./installation-ubuntu.md). If you are using Node installed in Windows, you need to follow the guide below, since Node for Windows is not able to run inside Ubuntu as well.

### Step 1:

Follow the guide to Download and Install Eform-Angular-Frontend project on ["Installation Windows"](/install-angular-fronted/installation-windows.md)

### Step 2:

```
%HOMEPATH%

cd Documents\workspace\microting

git clone https://github.com/microting/eform-angular-machinearea-plugin.git
```

### Step 3:

```
%HOMEPATH%

cd Documents\workspace\microting

Xcopy /X /O /H /K /E /I eform-angular-machinearea-plugin\eform-client\src\app\plugins\modules eform-angular-frontend\eform-client\src\app\plugins\modules
```

### Step 4:

```
%HOMEPATH%

cd Documents\workspace\microting

mkdir eform-angular-frontend\eFormAPI\Plugins
```

### Step 5:

```
%HOMEPATH%

Xcopy /X /O /H /K /E /I Documents\workspace\microting\eform-angular-machinearea-plugin\eFormAPI\Plugins Documents\workspace\microting\eform-angular-frontend\eFormAPI\Plugins
```

### Step 6:

Open eFormAPI.sln in your preferred IDE

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FLEiqIbEe9Fk2gpplXH1l%2Ffile.png?alt=media)

### Step 7:

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FPDdmBpHNY1w9TtGvwna1%2Ffile.png?alt=media)

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2F4b5gZGjK4lJiLfAS07Vx%2Ffile.png?alt=media)

#### OBS! After adding existing project. Remember to REBUILD SOLUTION!!!

### Step 8:

Open eform-angular-frontend -> eform-client in your preferred Typescript IDE.

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FjljE7kbkp5YBLUnluAFG%2Ffile.png?alt=media)

### Step 9:

Copy this in plugins.routing.ts

{\
&#x20;  path: 'outer-inner-resource-pn',\
&#x20;  loadChildren: () => import('./modules/outer-inner-resource-pn/outer-inner-resource-pn.module').then(m => m.OuterInnerResourcePnModule),\
&#x20;  canActivate: \[AuthGuard] \
}

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FivzlwvzwX363OOH4i06J%2Ffile.png?alt=media)

### Step 10:

OBS! Remember to run eFormAPI.sln before running the command npm start on eform-client!

After running command go to localhost <http://localhost:4200/>&#x20;

```
%HOMEPATH%

cd Documents\workspace\microting\eform-angular-frontend\eform-client

npm start
```

### Step 11:

Go to advanced -> plugins and edit Machine Area Plugin and toggle on "Enabled"

Refresh page.

Enjoy!

{% content-ref url="/pages/-LpltqpEQ6I3mUl7fj61" %}
[Installing a plugin.](/plugins/installing-a-plugin..md)
{% endcontent-ref %}
