From 23967a8ee778a3f82f59ae387fb2aabd04263736 Mon Sep 17 00:00:00 2001 From: JoYo <> Date: Wed, 5 Jan 2022 18:37:40 -0500 Subject: [PATCH] remove unused files --- Dockerfile | 14 -------------- README.mdown | 22 ---------------------- banana.service | 9 --------- banana.timer | 9 --------- docker-compose.yaml | 11 ----------- makefile | 0 6 files changed, 65 deletions(-) delete mode 100644 Dockerfile delete mode 100644 banana.service delete mode 100644 banana.timer delete mode 100644 docker-compose.yaml delete mode 100644 makefile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c38a07f..0000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM ubuntu:20.04 -ENV DEBIAN_FRONTEND noninteractive - -RUN apt-get update && apt-get install -y \ - python3-packaging \ - python3-pip \ - python3-requests \ - python3-yaml \ - && apt-get clean - -COPY ./banana/ /app/banana/ -COPY setup.py /app/ -WORKDIR /app/ -RUN pip3 install --no-deps . diff --git a/README.mdown b/README.mdown index b4043e8..ca5937f 100644 --- a/README.mdown +++ b/README.mdown @@ -82,25 +82,3 @@ Linux command scheduling can be performed with the [crontab](https://help.ubuntu crontab -e 0 11 * * * eso-banana-script --verbose ``` - -# Development - -Use docker to test the python components. -For docker installation run the following commands on [Ubuntu 20.04](https://ubuntu.com/download/): - -```bash -sudo apt-get update && sudo apt-get install -y \ - docker-compose \ - docker.io \ - && apt-get clean - -sudo usermod -aG docker $USER -``` - -Build and run the dev environment by entering the following commands: - -```bash -cd ./banana/ -docker-compose build -docker-compose run banana -``` diff --git a/banana.service b/banana.service deleted file mode 100644 index 84e4fa8..0000000 --- a/banana.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=run eso-banana addon management - -[Service] -Type=simple -ExecStart=banana-script - -[Install] -WantedBy=default.target diff --git a/banana.timer b/banana.timer deleted file mode 100644 index c3fab5c..0000000 --- a/banana.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Run eso-banana addon management once a day. - -[Timer] -OnUnitActiveSec=12h -Unit=banana.service - -[Install] -WantedBy=multi-user.target diff --git a/docker-compose.yaml b/docker-compose.yaml deleted file mode 100644 index e35fc6d..0000000 --- a/docker-compose.yaml +++ /dev/null @@ -1,11 +0,0 @@ -version: "3" - -services: - banana: - image: banana - build: - context: . - volumes: - - .:/project - working_dir: /project - command: eso-banana-script -v diff --git a/makefile b/makefile deleted file mode 100644 index e69de29..0000000