From 6f814f1e0231c1fa566c0ecdcef90919c320a2f9 Mon Sep 17 00:00:00 2001 From: "Juan M. Ley" Date: Fri, 13 Feb 2026 17:01:48 -0600 Subject: [PATCH] quick fix --- script.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 script.sh diff --git a/script.sh b/script.sh deleted file mode 100755 index ba54fbe..0000000 --- a/script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -CURRENT_DIR=$(pwd) - -mkdir $CURRENT_DIR/src - -mkdir $CURRENT_DIR/src/{application,core,domain,infrastructure} - -mkdir $CURRENT_DIR/src/application/{ports,services} - -mkdir $CURRENT_DIR/src/infrastructure/{adapters,api} - -mkdir $CURRENT_DIR/src/infrastructure/adapters/persistence - -touch $CURRENT_DIR/src/main.py - -echo "Here goes all repositories, each repo will implement the object they need and defines all methods as abstracts" > $CURRENT_DIR/src/application/ports/here.txt -echo "Here we will use all repositores and will define as classes all functions we will implement as execute method" > $CURRENT_DIR/src/application/services/here.txt -echo "Here we will define all the configurations for the multiple api's we're going to use" > $CURRENT_DIR/src/core/here.txt -echo "Here we will define the entities that we will operate with, normally as dataclasses because we won't define methods here" > $CURRENT_DIR/src/domain/here.txt -echo "Here we will define all the database parts, db will define the connection and session, models will define what is going to be in the database and the sql repository will define all the methods that will be executed in the database, these are called by the api." > $CURRENT_DIR/src/infrastructure/adapters/persistence/here.txt -echo "Here we will define each api application in each directory, we can use router to make things easier and scallable" > $CURRENT_DIR/src/infrastructure/api/here.txt - -# == Architecture dependencies == # - -python3 -m venv $CURRENT_DIR/netflix - -source $CURRENT_DIR/netflix/bin/activate - -pip install uvicorn fastapi pydantic pydantic-settings sqlalchemy - -printf "#!/bin/bash \ncd $(pwd)/src/ \npython3 main.py\n" > $CURRENT_DIR/run.sh - -chmod +x $CURRENT_DIR/run.sh