Files
herolib/lib/installers/lang/nodejs/readme.md
2025-10-12 12:30:19 +03:00

41 lines
613 B
Markdown

# nodejs
To get started
```v
import incubaid.herolib.installers.something.nodejs as nodejs_installer
heroscript:="
!!nodejs.configure name:'test'
password: '1234'
port: 7701
!!nodejs.start name:'test' reset:1
"
nodejs_installer.play(heroscript=heroscript)!
//or we can call the default and do a start with reset
//mut installer:= nodejs_installer.get()!
//installer.start(reset:true)!
```
## example heroscript
```hero
!!nodejs.configure
homedir: '/home/user/nodejs'
username: 'admin'
password: 'secretpassword'
title: 'Some Title'
host: 'localhost'
port: 8888
```