diff --git a/Dockerfile b/Dockerfile index f0035bb989a9..8282c2c56b93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,6 @@ RUN pip3 install --break-system-packages --no-cache-dir -r requirements.txt COPY . . +RUN rm -rf py_generators config_sample.env Dockerfile LICENSE README.md requirements.txt + CMD ["bash", "start.sh"] diff --git a/README.md b/README.md index 4c187974050a..85374133fa82 100644 --- a/README.md +++ b/README.md @@ -580,6 +580,7 @@ sudo docker logs --follow > **NOTE**: If you have created SAs in past from this script, you can also just re download the keys by running: ``` + cd py_generators python3 gen_sa_accounts.py --download-keys $PROJECTID ``` @@ -599,30 +600,35 @@ sudo docker logs --follow - List your projects ids ``` + cd py_generators python3 gen_sa_accounts.py --list-projects ``` - Enable services automatically by this command ``` + cd py_generators python3 gen_sa_accounts.py --enable-services $PROJECTID ``` - Create Sevice Accounts to current project ``` + cd py_generators python3 gen_sa_accounts.py --create-sas $PROJECTID ``` - Download Sevice Accounts as accounts folder ``` + cd py_generators python3 gen_sa_accounts.py --download-keys $PROJECTID ``` ##### 2. Create Service Accounts in New Project ``` + cd py_generators python3 gen_sa_accounts.py --quick-setup 1 --new-only ``` @@ -669,6 +675,7 @@ sudo docker logs --follow - Run: ``` + cd py_generators python3 add_to_team_drive.py -d SharedTeamDriveSrcID ``` diff --git a/add_to_team_drive.py b/py_generators/add_to_team_drive.py similarity index 100% rename from add_to_team_drive.py rename to py_generators/add_to_team_drive.py diff --git a/driveid.py b/py_generators/driveid.py similarity index 100% rename from driveid.py rename to py_generators/driveid.py diff --git a/gen_sa_accounts.py b/py_generators/gen_sa_accounts.py similarity index 100% rename from gen_sa_accounts.py rename to py_generators/gen_sa_accounts.py diff --git a/generate_drive_token.py b/py_generators/generate_drive_token.py similarity index 100% rename from generate_drive_token.py rename to py_generators/generate_drive_token.py diff --git a/generate_string_session.py b/py_generators/generate_string_session.py similarity index 100% rename from generate_string_session.py rename to py_generators/generate_string_session.py diff --git a/requirements-cli.txt b/py_generators/requirements-cli.txt similarity index 100% rename from requirements-cli.txt rename to py_generators/requirements-cli.txt