Files
herolib/lib/installers/lang/nodejs/readme.md
2024-12-25 20:56:35 +01:00

629 B

nodejs

To get started



import freeflowuniverse.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

!!nodejs.configure
    homedir: '/home/user/nodejs'
    username: 'admin'
    password: 'secretpassword'
    title: 'Some Title'
    host: 'localhost'
    port: 8888