remove unused files
parent
5c0494be70
commit
23967a8ee7
14
Dockerfile
14
Dockerfile
|
@ -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 .
|
22
README.mdown
22
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
|
||||
```
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[Unit]
|
||||
Description=run eso-banana addon management
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=banana-script
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -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
|
|
@ -1,11 +0,0 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
banana:
|
||||
image: banana
|
||||
build:
|
||||
context: .
|
||||
volumes:
|
||||
- .:/project
|
||||
working_dir: /project
|
||||
command: eso-banana-script -v
|
Loading…
Reference in New Issue