mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 09:16:24 +02:00
remove dependency on docker-compose when starting up archgw (#305)
This commit is contained in:
parent
726f1a3185
commit
0ff3d43008
16 changed files with 3761 additions and 274 deletions
|
|
@ -1,23 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Define paths
|
||||
source_schema="../arch_config_schema.yaml"
|
||||
source_compose="../docker-compose.yaml"
|
||||
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"
|
||||
touch "$destination_dir/env.list"
|
||||
|
||||
# Print success message
|
||||
echo "Files copied successfully!"
|
||||
|
||||
echo "Building the cli"
|
||||
poetry install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue