Files
herolib/lib/installers/lang/python
Mahmoud Emad ec22a8e0ec refactor: improve installer code
- Refactor installer code for better readability and maintainability.
- Move `dagu_server.vsh` to `examples/virt/daguserver/dagu_server.vsh`.
- Remove unnecessary `println` statements.
- Improve error handling in `zinit_installer_actions.v`.
- Update `zinit_installer_actions.v` startup type to systemd.
- Refactor several factory functions.
2025-02-12 09:02:33 +00:00
..
...
2025-02-09 17:53:16 +01:00
2024-12-25 20:56:35 +01:00

python

To get started



import freeflowuniverse.herolib.installers.something.python as python_installer

heroscript:="
!!python.configure name:'test'
    password: '1234'
    port: 7701

!!python.start name:'test' reset:1 
"

python_installer.play(heroscript=heroscript)!

//or we can call the default and do a start with reset
//mut installer:= python_installer.get()!
//installer.start(reset:true)!




example heroscript

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