Skip to content

virtualguard101/WebServicesManager

Repository files navigation

WebServicesManager

A script set for web services management.

Dependencies

Usage

  • First clone the repository

    # the remote repository where located on my cloud server
    git clone https://gitea.virtualguard101.com/virtualguard101/webscripts.git
    cd webscripts
  • Initialize Python virtual environment and install dependencies

    uv venv --python=3.12
    uv pip install -r requirement.txt
  • Launch the manager with main.py

    [!IMPORTANT] If you have some reasons have to give up using uv, you should create virtual environment and install the dependencies manually, otherwise, it is recommended to use uv to manage those because of its convenience.

    uv run main.py

    Add -h as parameter to find usage:

    uv run main.py -h
    usage: main.py [-h] {register,list,operate} ...
    
    =====> Web Services Manager <=====
    
    positional arguments:
      {register,list,operate}
        register            Register a new service
        list                List all services
        operate             Service operations to carry out
    
    options:
      -h, --help            show this help message and exit

TODO

  • Add the function that can remove services

  • Package src as a module

About

A script set for web services management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published