This repository contains bash scripts for managing PHP and Python projects using Podman or Docker containers.
- Podman or Docker installed on your system.
- A network for Podman/Docker containers. You can create a network using the following command:
podman network create container-network # or docker network create container-network
The php-projects
script helps you manage PHP projects. It allows you to select a PHP version and run a containerized environment for your project.
- Make sure the
SCAN_DIR
variable in the script is set to the directory containing your PHP projects. - Run the script:
./php-projects
- Select a project directory and PHP version when prompted.
The python-projects
script helps you manage Python projects. It allows you to select a Python version and run a containerized environment for your project.
- Make sure the
SCAN_DIR
variable in the script is set to the directory containing your Python projects. - Run the script:
./python-projects
- Select a project directory and Python version when prompted.
- The scripts use fzf for interactive selection of project directories and versions.
- The scripts rely on
yq
for YAML processing in the Python projects.
Feel free to open issues or submit pull requests for improvements and bug fixes.