-
CARRON Guilhem authoredCARRON Guilhem authored
!!! info ""
This section will show you how to deploy your project on different environments.
Setup
First of all you'll need to install MobaXterm in order to connect to the server. Then, if your're on Linux you can skip the following section, otherwise if you are on Windows you'll have to install Windows Subsystem for Linux (WSL) since the deployment of the app is not working with windows commands.
Install WSL
First open Powershell as administrator and launch the following command :
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
This command will install WSL on your computer. After this, you'll need to reboot.
Install your Linux distribution
After reboot, open the microsoft store and install the distribution of your choice (for example : Ubuntu 20.04 LTS). Once it's done, open it and after a few minutes you'll be prompted for the creation of a user account.
To make sure it's correctly installed and working, you can open Powershell and paste the following command :
wsl.exe --list --running
Now you should see the name of your distribution in the list.
Setup your distribution
Start Up Updating the packages list by typing :
sudo apt update
Install the nodejs using the apt package manager
sudo apt install
To verify the Installation execute the following command :
nodejs --version