18 lines
915 B
Markdown
18 lines
915 B
Markdown
# win
|
|
|
|
In this folder, there are two scripts:
|
|
1- 'addRule' : adds a rule to the Windows firewall to accept requests on ports 3000 and 5000.
|
|
2- 'redirect' : allows redirecting ports 3000 and 5000 so that our machine processes them with our local Salix server.
|
|
|
|
|
|
## Run
|
|
|
|
Two ways:
|
|
|
|
1-Search the project of Salix in WSL with the explorer of windows, for example: \\wsl.localhost\Debian\home\your_user\projects\salix and with a terminal Powershell with administrator permissions execute addRule.ps1 only one time and execute redirect.ps1 every time you need redirect ports when the project is running.
|
|
|
|
2-Search the project of Salix in WSL with the explorer of windows and edit the files with .lnk with the path of your installation of Salix. So , you will have a direct link for execute.
|
|
|
|
## Server
|
|
|
|
To access your Salix server, you can directly enter the IP or name of your computer along with the corresponding port |