Skip to content

Inconsistent pyhera/bin/ structure #561

@lior-antonov

Description

@lior-antonov

Currently every file in the bin/ folder contains a python script for an interface. For the ui there's this simple bash script:

#!/bin/bash

cd "$(dirname "$0")/../.." # Go to hera repo root
pip install -r ui/server/requirements-server.txt
python ui/server/server.py

There are two problems here:

  • enforcing the installation of packages from ui/server/requirements-server.txt. Users can't do it as we have a shared environment - the requirments should be installed manually by an admin.
  • This file in bin/ should just containt the server.py script to be consistent with the other interfaces

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions