So if you're using Proxmox you need to open up ssh and run the following commands:
- Setup a root password
sudo passwd root| ## Find Available Target Editions | |
| DISM.exe /Online /Get-TargetEditions | |
| ## Convert Server Standard 2019 Evaluation to Server Standard 2019 | |
| DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula | |
| ## How To Activate | |
| slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | |
| slmgr /skms [server]:[port] | |
| slmgr /ato |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| // check version | |
| node -v || node --version | |
| // list locally installed versions of node | |
| nvm ls | |
| // list remove available versions of node | |
| nvm ls-remote | |
| // install specific version of node |
| 1) Download nssm from http://nssm.cc/download/?page=download and extract nssm.exe, for example to %windir%\system32\ | |
| 2) Install your service: | |
| nssm.exe install my-node-service c:\programs\nodejes\node.exe c:\my\server.js | |
| 3) Start it using net start: | |
| net start my-node-service |
Documentación oficial sobre Jest
npm install -D jest @types/jest ts-jest supertest
Más información - Docs Oficiales
npm i -D typescript @types/node
| const handWashMachine2 = Machine({ | |
| id: 'handwash', | |
| initial: 'unwashed', | |
| states: { | |
| unwashed: { | |
| on: { | |
| START_WASH: 'washing' | |
| } | |
| }, | |
| washing: { |