From 08813a4f8d3e098d494e9d50febcfbbd2c0718c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Ba=C3=B1ados=20Schwerter?= Date: Tue, 3 Sep 2024 19:54:04 +0000 Subject: [PATCH] Configuration for server --- .gitignore | 162 +++++++++++++++++++ wordnet/__pycache__/__init__.cpython-310.pyc | Bin 140 -> 0 bytes wordnet/__pycache__/nltk.cpython-310.pyc | Bin 1906 -> 0 bytes wordnet/__pycache__/settings.cpython-310.pyc | Bin 2398 -> 0 bytes wordnet/__pycache__/urls.cpython-310.pyc | Bin 1007 -> 0 bytes wordnet/__pycache__/views.cpython-310.pyc | Bin 529 -> 0 bytes wordnet/__pycache__/wsgi.cpython-310.pyc | Bin 543 -> 0 bytes wordnet/settings.py | 4 +- 8 files changed, 164 insertions(+), 2 deletions(-) create mode 100644 .gitignore delete mode 100644 wordnet/__pycache__/__init__.cpython-310.pyc delete mode 100644 wordnet/__pycache__/nltk.cpython-310.pyc delete mode 100644 wordnet/__pycache__/settings.cpython-310.pyc delete mode 100644 wordnet/__pycache__/urls.cpython-310.pyc delete mode 100644 wordnet/__pycache__/views.cpython-310.pyc delete mode 100644 wordnet/__pycache__/wsgi.cpython-310.pyc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82f9275 --- /dev/null +++ b/.gitignore @@ -0,0 +1,162 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/latest/usage/project/#working-with-version-control +.pdm.toml +.pdm-python +.pdm-build/ + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ diff --git a/wordnet/__pycache__/__init__.cpython-310.pyc b/wordnet/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 20ea7083f771b12b3ed00e54e99a4eda28e9b155..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 140 zcmd1j<>g`k0=q94(m?cM5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!H%enx(7s(xBh zVqRiOezAUXeoCr-d45q!UTO)Pj*rjG%PfhH*DI*J#bJ}1pHiBWY6mi?m0M4%F?VC4mX5RbW_cm`dY7EbR-~ZkD$7k$c zn%sO~W8Y$!UmzrtJYgws2~N65ywq>`PWO_a6-d7o%0PyvtW}W}<#&Xv%9&HYRh2b0 zBWKl2$Cq{4fTbqq2wU=?ySKn!!>&UZ}@rG7i zt2mi#54AG=q_|+Zjw`O#)(`Sjt#^KnvsmV4y`4+7K1Ol!&647<*&EneJI-WR#)UE! zf?yfK=RU9U8n1J~=eY0H--fV=x4zJGSk{EsEf56^6A-_`WW>(cIXeSb0FFxlD7_{2 znn^$=1E+-rSu0Bb`8E41M9HgLmN&2X>Lmd+6wxDx*cD&7r1O!!pT()Nf$1gP!g}4T zh=hy9`iMVv$(N!5e>+RwdmRG1cmRVT0?+X$Tz>#X6WJ}0EBZQ{N`_n=BPf{yi6B^Z zE{^#KyAd{D0_PW5nbzX9?k}-LFlU4j1zXl9D(ZW5j|ZAs4=h9$LL&#n)IP9{GP*sj z_SNq_WaEOWxJ6~|B%~>*MGQkw*HMv27|wbtenM|jj2D=cOdhdU979NyI)LA{}CT~Hx< z7?nEVH^RCoNpKh^Xlt=e7zZ z3LPN&L+G|9Ri~SEi*AmNci0$PJs9-zY>*l|15IgCvB`0kHtC4OQxa<=oB| zlZ);AT?9XZlc5$41@-v6d&4XJ1x&Y)Bo0w|pJTZ4maHk6M63ZLylF;Eqk_oja8R3o zeqWRh9zsTw7%m$X>-NF>YK^lfc6_K!?j{?S8$ZWV$sn$qr$X`42bQHM^8DUnFhlETnZ#a0qe9Xk`r4d?=mtX4 z^GcUP*>}7-3w;jy67+fKucCr^4HeOqE{`%OSuMTe36HM66}!AShpw5|(Hy#t3uu0s zLkn*O!khDG5#0crMRYT5Z>8-L;k%-_fNq64kSJ!1_+2V>f>1gMLgZs6^~2y0J4`MXx3P~yn_(oiPo;+_ z#jM!KBfdnL9kP+-Luo*PMH-Plme=IfCjj39QZERxM10`)Y(@fKf*q;)6ObR;ZPh|TD9AOel z$F@7b^#Aw@ac9EOAF%ganUBRioAnye=12$PQ|t^vywcwA*n?-CH~!NHgN-+xHRm2< z?)q0R?6uzNv+({=H+!18^(!RIx#3;|i1vhYPw--e`0< z1$a;gJir?Q?10)ySNwdnCQ*~q;-f!Bv~6R7e8co+_48PJIiy_KG&4Kb_v7lQ4uCbp~YfD-POV?a2!NCQ-P3 z{91725R|%;TNH;XOGR@v7K>!tR6oT+M?t?js^*6Ym!t!nKwbwiJ@)*8A2Q!oKZq{qeG zTD4l&4%B@up51RY4Xd?ZuQVH5alz1b_v)&l>G9lwzFkY~>$QrS*s)m}l)#D|# zW$ajcs;(b2_p8<`wO)h8CZuVpt~Rz?>b7Q8npF)5YrC3dHX*U{EeN=_`m_;elaXOU zX7(}P`_~Deb6aw{!)});9;fHwtX7~RB=FbWqcNl z`|;~j?w`i_Z(v^rE`APw2sqk+M&xE^XZg7qF(=OCg?uJo5Q~B+@&cb1g!kg#;(KvU c$O(Lw7yp5A3FgF!>rZh(6w+^2%*+Y@0*3xG-v9sr diff --git a/wordnet/__pycache__/urls.cpython-310.pyc b/wordnet/__pycache__/urls.cpython-310.pyc deleted file mode 100644 index 929b78ba342b498e2d500c7923a934f7626ae829..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1007 zcmb7D%Z}496m`<{G3m@8{=mC7qQqjv0#$%Oh!KMj3m%(pI&SQ?sbV{_9cG3F8`gXX zd=2YtSbFOWUj$#7i%lEI#dmTc);miK$!OJ7K-E)`( znGq3)un1H*3j>ThMMp)m2;xX|i>~U;dI6D<=*e)?-wZy65cg$ob07xd;8SN6&SDY2 zCdrV02nmVbzIs73qnG)rvfSrJ)1|TW!dRiDr=>L;nfWx1->fA)uWV6r@1@o5oEEwB z)SAjmM*+oAZ|J*RUbvK=0)#SF(p&?Y+TxaljOT~ukmD!cc zjABx=yXgt@rpz(&}0pB_~vKB_E719wqUUf;)G60m8%{>fcxx zzm^t>qz&U8oo9gcKWs2Rt$-b^xYlE_A5hoF6(eRP2m^6AL7F(eo0`Un9C(1Mh-Ln#3UykI5o zaEv|hUrEP<;D*Gt749T4wSf{92(`ktj(SyLhM6N9;~4npm+1NgVMYe1Fk~vkh%T7Z zSh9)&pHuK=)bIu3l7j!n=gjys0>O;EaHra~{QBzF23n*l%PpBkcOn|6m5Gduv=EWW zk@u&mf=G5FIX#TIt&OFEN*EQOx~(apM}^VT{r_~*#|unaxhab{ut6zIEhX@ChaYpMj_z8X0#6&yxJ53m*RZq5bE|tkfMz04^H7x%P=Qggzw_p!*wtiYl R7!~5&eTa6~4@pQv_6ztEeZv3% diff --git a/wordnet/__pycache__/wsgi.cpython-310.pyc b/wordnet/__pycache__/wsgi.cpython-310.pyc deleted file mode 100644 index a9bc0329566af979a1a56b9d9dfcf97a166a65d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmYjOv2GJV5ZzllaX1J{fvC5&fLny95Q>77U>Si^I0(tjd2>5=UTbgXbi1)hS_*yx zO8$lpXy6}#4_;)L8krJ&i2=|ppz z%o55y%j@2(moP|{{V#jEulK%ks(PQ;Y+v&!8}8ryNIy(RV^N?hO(jZf#Tr}fAc&^L zB@`h`({T{+u|W@BgawH0fU;IyS`f+$C2G`H7M@sGffXy&noY~88nl?tRnu5gs9?~| z=Y;o~SZZuR7)ONlrXkP~xbdPi79I-^kS;=K{0k{H7CzHU@=`ga(aQog$Xn+BnZUE=Iv%{-ZugkZ&wK~cX9sug@%udGe*w2ssP+H= diff --git a/wordnet/settings.py b/wordnet/settings.py index beb535a..45a790b 100644 --- a/wordnet/settings.py +++ b/wordnet/settings.py @@ -24,9 +24,9 @@ SECRET_KEY = "django-insecure-b7mt&=fxn8&u7xf2c!ttl39@a2h1=r$kgr+lin7kt_3#^wb!75" # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +# DEBUG = True -ALLOWED_HOSTS = [ "localhost" , "vm-dev", "127.0.0.1" ] +ALLOWED_HOSTS = [ "altlab-itw", "localhost" , "vm-dev", "127.0.0.1" ] # Application definition