2024-10-03 18:21:27 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
# Define paths
|
|
|
|
|
source_schema="../arch_config_schema.yaml"
|
|
|
|
|
source_compose="../docker-compose.yaml"
|
2024-10-05 10:49:47 -07:00
|
|
|
source_stage_env="../stage.env"
|
2024-10-03 18:21:27 -07:00
|
|
|
destination_dir="config"
|
|
|
|
|
|
|
|
|
|
# Ensure the destination directory exists only if it doesn't already
|
|
|
|
|
if [ ! -d "$destination_dir" ]; then
|
|
|
|
|
mkdir -p "$destination_dir"
|
|
|
|
|
echo "Directory $destination_dir created."
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Copy the files
|
|
|
|
|
cp "$source_schema" "$destination_dir/arch_config_schema.yaml"
|
|
|
|
|
cp "$source_compose" "$destination_dir/docker-compose.yaml"
|
2024-10-05 10:49:47 -07:00
|
|
|
cp "$source_stage_env" "$destination_dir/stage.env"
|
2024-10-03 18:21:27 -07:00
|
|
|
|
|
|
|
|
# Print success message
|
|
|
|
|
echo "Files copied successfully!"
|
|
|
|
|
|
|
|
|
|
echo "Building the cli"
|
|
|
|
|
pip install -e .
|