Skip to main content

No project description provided

Project description

zBoxApi

zPodFactory zBox Api

Installation

Complete the following steps to set up zBox Api:

  1. Install pipx

    # Install and configure pipx
    apt update
    apt install -y pipx
    pipx ensurepath
    
    # Reload your profile
    source ~/.zshrc
    
  2. Install pyenv and add 3.12.1

    # Install required packages
    apt update
    apt install -y make build-essential libssl-dev zlib1g-dev \
        libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
        libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev \
        liblzma-dev
    
    # Install pyenv
    curl https://pyenv.run | bash
    
    # Configure user profile
    echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
    echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
    echo 'eval "$(pyenv init -)"' >> ~/.zshrc
    
    # Reload your profile
    source ~/.zshrc
    
    # Install 3.12.1
    pyenv install 3.12.1
    
  3. Install zBoxApi:

    pipx install zboxapi --python /root/.pyenv/versions/3.12.1/bin/python3
    
  4. Set up and start zboxapi.service

    cp zboxapi.service /etc/systemd/system
    systemctl daemon-reload
    systemctl enable zboxapi.service
    systemctl start zboxapi.service
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zboxapi-0.0.2.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

zboxapi-0.0.2-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page