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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file zboxapi-0.0.2.tar.gz.

File metadata

  • Download URL: zboxapi-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.2 Linux/5.10.0-28-amd64

File hashes

Hashes for zboxapi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 35f1112c3ea1679532201c7a11acbd08227b7efecc0606ccf0b538e773514000
MD5 5c9791599f20b9f2c12b4820cc86ec98
BLAKE2b-256 9ecfecd78ca27ada28359b2ecd34b3e48b7f4964b24ff96593560a31c213e3c6

See more details on using hashes here.

File details

Details for the file zboxapi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: zboxapi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.2 Linux/5.10.0-28-amd64

File hashes

Hashes for zboxapi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 213d26584af5a365ab683093057706f27d4bd304f1758ce3dd96630a733ea792
MD5 45c8437cdcba3c61d90ad400eae7a858
BLAKE2b-256 4c54bc8d3a9942b32da21dff05127d47a6d2be40ba5ec546be19557383d61f3b

See more details on using hashes here.

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