From fefc3aae382b58371c3cc7c6c991cd2013a55771 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 3 Dec 2023 00:43:50 +0800 Subject: [PATCH] Update deployment related files --- Dockerfile | 4 +- docker-compose.yml | 2 +- .../__pycache__/__init__.cpython-311.pyc | Bin 198 -> 153 bytes .../__pycache__/admin.cpython-311.pyc | Bin 790 -> 815 bytes .../accounts/__pycache__/apps.cpython-311.pyc | Bin 573 -> 528 bytes .../__pycache__/models.cpython-311.pyc | Bin 4479 -> 4551 bytes .../__pycache__/serializers.cpython-311.pyc | Bin 3397 -> 3745 bytes .../accounts/__pycache__/urls.cpython-311.pyc | Bin 519 -> 474 bytes .../api/__pycache__/urls.cpython-311.pyc | Bin 382 -> 433 bytes .../__pycache__/settings.cpython-311.pyc | Bin 5915 -> 5915 bytes .../config/__pycache__/urls.cpython-311.pyc | Bin 1197 -> 1682 bytes equipment_tracker/config/settings.py | 7 +- equipment_tracker/schema.yml | 73 +- equipment_tracker/schema.yml1 | 1359 ----------------- 14 files changed, 72 insertions(+), 1373 deletions(-) delete mode 100644 equipment_tracker/schema.yml1 diff --git a/Dockerfile b/Dockerfile index 59f831b..9f5f54e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ WORKDIR /code ADD . /code/ # Install pipenv -RUN pip install --no-cache-dir -r linux-requirements.txt +RUN pip install --no-cache-dir -r requirements.txt # Make migrations RUN python equipment_tracker/manage.py makemigrations @@ -24,7 +24,7 @@ RUN python equipment_tracker/manage.py makemigrations RUN python equipment_tracker/manage.py migrate # Generate DRF Spectacular Documentation -RUN python equipment_tracker/manage.py spectacular --color --file stude/schema.yml +RUN python equipment_tracker/manage.py spectacular --color --file equipment_tracker/schema.yml # Expose port 8000 for the web server EXPOSE 8000 diff --git a/docker-compose.yml b/docker-compose.yml index c73ff8e..91e72fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: [ "sh", "-c", - "python equipment_tracker/manage.py spectacular --color --file stude/schema.yml && python equipment_tracker/manage.py collectstatic --noinput && python equipment_tracker/manage.py makemigrations && python equipment_tracker/manage.py migrate && python equipment_tracker/manage.py runserver", + "python equipment_tracker/manage.py spectacular --color --file equipment_tracker/schema.yml && python equipment_tracker/manage.py collectstatic --noinput && python equipment_tracker/manage.py makemigrations && python equipment_tracker/manage.py migrate && python equipment_tracker/manage.py runserver", ] volumes: - .:/code # For hotreloading diff --git a/equipment_tracker/accounts/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/__init__.cpython-311.pyc index 2d605aa040b6d84b9950525d37981c597610518a..3e9616e6d2e89e4bc4fb5a69d908fd504d44d29f 100644 GIT binary patch delta 57 zcmX@cIFpfkIWI340}yPv9x##HR7poaIX@*;KeezlvmiG$uOz;tC^0!ZwMaiPIXS;H LucTOiV!t^6_gWKU delta 102 zcmbQqc#M&IIWI340}vcI=rfVq)IZYIDkh*PKPxr4q&UViM8P!&$jU5BRWONhEiBC} p$W6^F2`NfU&Q2}Tbpla&DKV)qiTDzTOiW^Oa(-zZ(1eLe<^a#IB)0$n diff --git a/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc index 50f2516717588a882f7e07cbe3bc524528f82ae5..d594b060e0e6f8ffe2aa3d6d02e2147deb6969ff 100644 GIT binary patch delta 357 zcmbQnww{f5IWI340}w2G6`ATZk@s~J6Nm={pVffGbcR%hD8>|qD5g~AD3(;#EHL@^eFrQ;Qr^ax?QZ8E^4s7RQ&QCTHYjCTAw*`DwCG z)@3xPFJc91yTy}}SzHpIl384klUTWu;WNn8Uz+;K`6;RTsfDGP1-YqtCGjOiiOJci zMf!=!$@!&uCB^!QAfxpPDvLOQ>cIp%kWs7%BpTrG29H>S>kVO$<0qG%}KQ@lAN5!6z$8zX#ar$lbDeC5hVHrA;rbO d$kxJjok92#gYX2e1^gEo46ZO3T!1046#%%%VDJC{ delta 284 zcmZ3_HjRyUIWI340}yl_^GRiz$otxq5yS(6&q6?AIzuW$6k`fQ6jLg56iW(YFoP!3 zEq>?H;*$K_(Bjl0$CTX6JU>m=$w7<;;VT(FgEamMbG3>ID9X=DO)e>p@eEOL%>lA9 z%Tg6gVq6PLGYfK4^GZUB5|gu2i*%hpR9;FIWI340}vcI=(CYql+i!b)hZ^SC_gJTxuiJ8Gep5P2gu4SOI0w5aV;#( rEXYmGD+wt|OwLX%(scq+c_}feFp2mQh)hgka&mrY9?*ozPK@UO^R^`- diff --git a/equipment_tracker/accounts/__pycache__/models.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/models.cpython-311.pyc index b1db7fafbe0b334dfdb41a89ddb1a15f15415701..2e087706e133bee75e19144a594e66d153245aa5 100644 GIT binary patch delta 565 zcmeybbX=KtIWI340}#A@9htgjBd-V}$D*jJ(X`%*4FOS2zL~k4#qOtP&AX zpWt>yM12G61rf80B4$@a%o=;sDyr4aA?{O#ZSQEFmIYKlT)N^WMJ0@No}A|sYSX7*WY3Z0gB$@3W58lN&%)l zB{iuuT>+tX@+#gkp<67WKog2Qfff~cfe7!(hI}?`hCpWVq{+p66T}%9>KL7vJ}@&# zntfzolyqkL0wyO5^XoEdPIlziWK@`(&F=`*0aYiW15_shRtF?ITt09x$SHNW^!VN7 y5xgK|a*@aM3Xkap9@EL!_zyA0Po62zp{2se`GEnGm>}~JB>Dv*CjW3(tC)bI{H)aElHwT85Czv9AS<&hRly|2wXig^AU8FyB%~-Y zIXksT*9k=BrNpGdB;rdTGBJtC$@!&uKod5nvs`Cp)S7J1p}{CHIfEl<@=XqZ#`Tjm zIjbh`;PmHW2ReZph(EuWEXXCpm^@jJ>p7$6WHD|Xku~hgSb^>YVhE_^Na5HV!OhOd z=sP)q2a7ys3diI{JO@}bS&KX-r}N4=hg69=7o{eaq^2k&rsQVkDL|cdi?g&iwWuVu zxWw=lO9+s<#S#h>sFH%IPDxEFO;-RZn*5lzOt8oo=z<~-5a9_Tye4P!*{~S^nZ+%W z*YZseU}lgs`^dm3na}tIOim8r*JYHO+{CZRC^dNvzoQm2gNP1Lfe2UuknC{zz`-D= z)ZxqwNRFCIWI340}wEqMWtGDY~*{(q@=H(oS%}apITU&S&*BWR}x=Rl$e~ITBM(t zoSa{pS5mCM*^60}k+ExX0!zI>3Req56jujB1!EL5@1?qa{eW(qX8 zN_p~Y7OBZi98aW@nLsu{0V|MZ2I9{hKw`2Xn|eLd0%UopG6sek#uP?LIByvv1H)<{ zh5$x}8m0vxQ!v0XpvY>tC`er}Ly;a(K$E3N0Z0`|1BqKa#i=Fn1&PJQ<@rTcDYsaP z6U$OHnTyOoa(rcpIhiSmC8;U#Kr*q&0w`DvvP(fhp-3L2f-Siy6)0b&2=Za99)zb4 zQsxFE8W?Wy%XO6WRQA+g;5PuG1#%F&gXIPX&vg#TOB|9j^j1h+kutf+VS0tb^a6(| zP@>C{3Qp8JyNKpx`WW01~%&VIWI340}z}#=95~@zLD=OlYfk>RZKupepYI7NpXy4h=OYlkd;}Ms$df1 zT3DJ{keixU5>k|yoSj;v>ja|mQeskJ67eMvnV7`nCvV`gW;B`nkxP`(YBD>w zEaSY%s@#3T4BV{hA5e+OSGkiJ^*3AcC^9m7ZI0&UVYCuu1S-NL7D!)FwD|~<_<}{Y INDdeR0G8WL<^TWy diff --git a/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc index 0a1c87ab62757c1e4bd3f3718438ae96b6c68898..fd784f670640c393f20d9527872ac033ecd17ec1 100644 GIT binary patch delta 59 zcmZo?xy8)AoR^o20SLBS57@{p#i*pApPZkPs-Id|npu#WnpYBEQk0mSom!-yn4Fwn NnpaY+Ke>c)G5`@h6R-dP delta 104 zcmcb`+|I(ioR^o20SHbV@!7~N#poaEY84Yul%JKFTv8n48KU5t17u~Er7D=jxE7XX r7UZVpm4p-}CTFJ>={kX^yp)(!m_&RDL?$LNIXS;H4`{+2plBy4vjxQ-nOwLX%(oZbN z)GsZ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