From 53393300b2dda0a65c8c0784d979f498581c3d51 Mon Sep 17 00:00:00 2001 From: louai98 Date: Wed, 29 Nov 2023 14:21:44 +0100 Subject: [PATCH] Update urls --- .../PreprocessFile.cpython-310.pyc | Bin 5221 -> 5148 bytes data_api/__pycache__/urls.cpython-310.pyc | Bin 874 -> 913 bytes .../api/__pycache__/__init__.cpython-310.pyc | Bin 172 -> 171 bytes data_api/api/__pycache__/urls.cpython-310.pyc | Bin 528 -> 527 bytes .../api/__pycache__/views.cpython-310.pyc | Bin 1282 -> 1233 bytes data_api/urls.py | 2 +- db.sqlite3 | Bin 1421312 -> 1421312 bytes guide.txt | 71 ++++++++++++++++++ 8 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 guide.txt diff --git a/data_api/__pycache__/PreprocessFile.cpython-310.pyc b/data_api/__pycache__/PreprocessFile.cpython-310.pyc index 39c8649fe5d57da2a7b4d71dd99a9b248cd950b6..94e3efd26c43aa9f0916a3a0d4b430c55c842dd2 100644 GIT binary patch delta 1195 zcmZvbOKjX!6o&8hW5zSK=aI*x^GIlDhDkDyC}M$BwWuYbRYi*m1De*Pjhwk|W+pS^ zjP1!wHW8g}im00CN=PUmr7Jcp5D^O&Y*=O86__=PEC6-Sf_ofLBZRN+=kuR?e2!(G z^V{^7)2gYeQN*tMKP(xa?W^PX;eN4~!st38VIn<3L>h2ff^bzd6WRZ%n83bTb@VRL zEn?qn+73D!51-B=oEijR#`SHK#cD4f8hjmg-m7wyhDItzzARzkfPrTg^LQ9 z=NL5EHgv1rSaysp$4Y}ovHP8lZf!5G>#K&9fygW%2Nw*>P{}Advi;?SMa9285g(s)|6XFBX8E7 zCDIzlB5#lh?^UKEfx6Aq1*W2bsxdXilpLu0Oy!wU0%g!^kte%FckD3d7N22^T=`$C z_ri^n>=?qR_o9Zn=LO`H_VD(v75H{J9u-38JURD#U z4ZYpgLe+-ZZxf%trEhD(t-kGO^cy*kHTqos?!s&EuSJFv=$&gH_}q;}UtBQTrlpBD zjSZu%(X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zP)YZNjk16hy_Ij4zHq?D05rqT<3BR9 Ku_<2T)54#lWhcx4 diff --git a/data_api/__pycache__/urls.cpython-310.pyc b/data_api/__pycache__/urls.cpython-310.pyc index edb2eda87eae5fc74262f55bcc0e3e7ad13d76c5..2c2dc354acc41c9ad342ccad44b6283ad5ed41fa 100644 GIT binary patch delta 115 zcmaFGHj$k-pO=@50SHWLl2cVC^2#z^n5ey9ER``uG?ghuteLTyDV;q^I7K{|K~rMl zmmJ2Z$%%~nC8}5w3o`Yq1XB`A661kPJrFJ}%9$+Bj1 diff --git a/data_api/api/__pycache__/__init__.cpython-310.pyc b/data_api/api/__pycache__/__init__.cpython-310.pyc index 3936128e687d6a4fec77fa1b80d5e6348610e2fd..e8df8f3c65101e9a2c23d02e6275df8c8676025a 100644 GIT binary patch delta 33 ncmZ3(xSEkCpO=@50SKa3g``g8v1as}=wZf^l30>Bu~`!Ugfa-o delta 34 ocmZ3@xQ3A@pO=@50SE*oH>OPFv1at2=wZg1n39{BH?c_*0D|!dxc~qF diff --git a/data_api/api/__pycache__/urls.cpython-310.pyc b/data_api/api/__pycache__/urls.cpython-310.pyc index 7ec5f3c199ac91014dc9074cfa9c0e67a0967f50..d118d5c4f2a2ef7169a224a3d656ae258f2ac17b 100644 GIT binary patch delta 36 qcmbQh($B(^&&$ij00hyiLQ*&KOl4&Bn!Je7j3p(pBysXxMq>b->VD=2dz@;9KUj-mc{bnO16WGu=6CG%aBZXJQFQ z+GE=0hP#3r&ZTR(C#mqdFb3g^(!?4=+ZW|4s~&uz*YgVn;QAG|;9P&g@w$iyaTNEH zeXLO;@6=xZKEu7PJ|am2yF7@ZP8uuKk!c!5S!mwoP{D2i!8PERQV854umYK@-%0CY z5x+vUEZhsvs*z%&m;r8a$f|lo+d%Y;Ru6ttpeFaaa&Xxj z4y3|0iW?x50Q=^4Rx_kkFX>&j22?lMCNSM)+m4Nc8#-mH`iVJb7`@1s;pSrMzg#&# Zx$TKzDo?@46y_*fWxyMfu*7KvegLL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HAV?-}Alq4UdB4XR&-az^-UrFb41$X88@C;%#Ik#MHytgaBGu#RQ2Ck>dWR zTK!1CuBF$=xt!<_cY$Vx^(c*2zBq$cM7}>F>U`4$cNlVEs8XtxfD)8p5XHFL@@jE5 zK^_~&Xu-x!2FtQuwvz?roQ>OHBw{~XuYZ)p9+Sb##{qj5)}NMBxC5qb!6Q(VuC!Rx znXbvV1LCU}?x@9X<+}4icIP*Y|Jdl|OB%kgvi|)(!#i&bdE)MBzNE@#IM3|59-;?_ R^<(t?WXO;$gP~X3{{s~*!BqeN diff --git a/guide.txt b/guide.txt new file mode 100644 index 0000000..eff80b4 --- /dev/null +++ b/guide.txt @@ -0,0 +1,71 @@ +pip install django +pip install django-rest-framework +pip install --upgrade djangorestframework-simplejwt +pip install django-filter +pip install django-cors-headers +pip install elasticsearch +pip install xhtml2pdf +# if error occured +sudo apt install libcairo2-dev pkg-config python3-dev +pip3 install pycairo +# the above command will install pycairo 1.17.1 +# then re-install pip install xhtml2pdf +pip install python-docx +pip install PyMuPDF +pip install -U pip setuptools wheel +pip install -U spacy +python -m spacy download en_core_web_sm + + + ServerAdmin webmaster@localhost + DocumentRoot /home/ubuntu/IDDRS_API + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + Alias /static /home/ubuntu/IDDRS_API/static + + Require all granted + + + + + Require all granted + + + + WSGIScriptAlias / /home/ubuntu/IDDRS_API/iddrs_api/wsgi.py + WSGIDaemonProcess django_app python-path=/home/ubuntu/IDDRS_API python-home=/home/ubuntu/iddrs_venv + WSGIProcessGroup django_app + + + + + ServerName 144.217.95.15 + DocumentRoot /home/ubuntu/IDDRS_Client/build + + ErrorLog /home/ubuntu/IDDRS_Client/log/error.log + CustomLog /home/ubuntu/IDDRS_Client/log/requests.log combined + + + AllowOverride all + Require all granted + Options FollowSymlinks + + + + + + ServerName 144.217.95.15 + DocumentRoot /home/ubuntu/IDDRS_Admin/build + + ErrorLog /home/ubuntu/IDDRS_Admin/log/error.log + CustomLog /home/ubuntu/IDDRS_Admin/log/requests.log combined + + + AllowOverride all + Require all granted + Options FollowSymlinks + + + \ No newline at end of file