diff --git a/BlackJackOld.py b/BlackJackBot/BlackJackOld.py similarity index 100% rename from BlackJackOld.py rename to BlackJackBot/BlackJackOld.py diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..6d5b113 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: "3.3" + +volumes: + +networks: + +services: + acronymbot: + build: ./src/py + volumes: + - "./src/py:/usr/app/src" diff --git a/ledger.db b/ledger.db index add31d7..71260aa 100644 Binary files a/ledger.db and b/ledger.db differ diff --git a/plan.txt b/plan.txt new file mode 100644 index 0000000..b261de2 --- /dev/null +++ b/plan.txt @@ -0,0 +1,5 @@ +Microservices: + - Some sort of database for storing the data + - Image for the python code that runs the bot + - Something to interface the two, like sparkSQL for interacting with the database + \ No newline at end of file diff --git a/Acronymbot.py b/src/py/Acronymbot.py similarity index 100% rename from Acronymbot.py rename to src/py/Acronymbot.py diff --git a/BlackJack.py b/src/py/BlackJack.py similarity index 100% rename from BlackJack.py rename to src/py/BlackJack.py diff --git a/Calculator.py b/src/py/Calculator.py similarity index 100% rename from Calculator.py rename to src/py/Calculator.py diff --git a/Dockerfile b/src/py/Dockerfile similarity index 55% rename from Dockerfile rename to src/py/Dockerfile index ca5d95a..32c77d2 100644 --- a/Dockerfile +++ b/src/py/Dockerfile @@ -4,8 +4,7 @@ RUN pip install discord WORKDIR /usr/app/src -COPY Acronymbot.py ./ -COPY BlackJack.py ./ -COPY Ledger.py ./ +VOLUME /usr/app/src +# -v flag to mount to this volume. -v [from]:/usr/app/src CMD [ "python", "./Acronymbot.py" ] \ No newline at end of file diff --git a/Gamepicker.py b/src/py/Gamepicker.py similarity index 100% rename from Gamepicker.py rename to src/py/Gamepicker.py diff --git a/Ledger.py b/src/py/Ledger.py similarity index 100% rename from Ledger.py rename to src/py/Ledger.py