diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..113383e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM python:alpine + +WORKDIR /app + +ADD tunictracker /app +ADD requirements.txt /app + +RUN python -m pip install -r requirements.txt + +WORKDIR /app/tunictracker + +EXPOSE 8000/tcp + +CMD ["gunicorn", "tunictracker.wsgi"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..29880b1 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +--- +version: "3" + +services: + "tunic-transition-tracker": + image: tunic-tracker + build: + context: . + volumes: + - ./tunictracker:/app + ports: + - "8090:8000" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 964581e..30e4534 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ asgiref==3.7.2 -autopep8==2.0.4 certifi==2024.2.2 charset-normalizer==3.3.2 click==8.1.7 @@ -7,8 +6,6 @@ colorama==0.4.6 cssbeautifier==1.15.1 Django==5.0.3 django-browser-reload==1.12.1 -django-tailwind==3.8.0 -djlint==1.34.1 EditorConfig==0.12.4 gunicorn==21.2.0 html-tag-names==0.1.2 @@ -19,9 +16,7 @@ json5==0.9.22 numpy==1.26.4 packaging==23.2 pathspec==0.12.1 -pyarrow==15.0.1 pycodestyle==2.11.1 -pylance==0.10.2 PyYAML==6.0.1 regex==2023.12.25 requests==2.31.0 diff --git a/tunictracker/tracker/static/tracker/images/trunic.svg b/tunictracker/tracker/static/tracker/images/trunic.svg new file mode 100644 index 0000000..be90503 --- /dev/null +++ b/tunictracker/tracker/static/tracker/images/trunic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tunictracker/tracker/templates/tracker/index.html b/tunictracker/tracker/templates/tracker/index.html index bbd05bc..7801a62 100644 --- a/tunictracker/tracker/templates/tracker/index.html +++ b/tunictracker/tracker/templates/tracker/index.html @@ -58,11 +58,25 @@ Settings {% include "tracker/settings/index.html" %} {% include "tracker/address/index.html" %} -
- +
+ + +
+
+ +