Organization
The scripts
directory in this repository houses a range of scripts designed for managing and interacting with Helix applications. This outline details the organization of this directory.
File Structure
The scripts
directory is structured as follows:
scripts/
├── deploy_helix_app.py
├── deploy_app.py
├── run_python_helix_app.py
├── get_helix_app_metadata.py
├── start_local_app.py
├── run_app.py
└── stop_helix_app.py
Script Functions and Purposes
Each script within the scripts
directory serves a specific purpose.
1. deploy_helix_app.py
: This script facilitates deploying a Helix application. It’s invoked to send the application to the Helix Server.
# deploy_helix_app.py
import os
import subprocess
# ... (Remaining script code)
2. deploy_app.py
: The deploy_app.py
script handles deploying a standard application, potentially distinct from a Helix application.
# deploy_app.py
import os
import subprocess
# ... (Remaining script code)
3. run_python_helix_app.py
: This script primarily concerns running a Helix application written in Python.
# run_python_helix_app.py
import os
import sys
import subprocess
import time
from typing import List, Optional
# ... (Remaining script code)
4. get_helix_app_metadata.py
: This script retrieves metadata associated with a Helix application.
# get_helix_app_metadata.py
import os
import subprocess
# ... (Remaining script code)
5. start_local_app.py
: The start_local_app.py
script facilitates starting a local application.
# start_local_app.py
import os
import sys
import subprocess
import time
# ... (Remaining script code)
6. run_app.py
: This script is responsible for running a standard application, possibly distinct from a Helix application.
# run_app.py
import os
import sys
import subprocess
import time
# ... (Remaining script code)
7. stop_helix_app.py
: The stop_helix_app.py
script handles stopping a Helix application.
# stop_helix_app.py
import os
import subprocess
# ... (Remaining script code)
Note: The provided snippets are just fragments to illustrate the purpose of each script. For complete code, please refer to the respective script files within the scripts
directory.