diff --git a/data_api/__pycache__/PreprocessFile.cpython-310.pyc b/data_api/__pycache__/PreprocessFile.cpython-310.pyc index 39c8649..94e3efd 100644 Binary files a/data_api/__pycache__/PreprocessFile.cpython-310.pyc and b/data_api/__pycache__/PreprocessFile.cpython-310.pyc differ diff --git a/data_api/__pycache__/urls.cpython-310.pyc b/data_api/__pycache__/urls.cpython-310.pyc index edb2eda..2c2dc35 100644 Binary files a/data_api/__pycache__/urls.cpython-310.pyc and b/data_api/__pycache__/urls.cpython-310.pyc differ diff --git a/data_api/api/__pycache__/__init__.cpython-310.pyc b/data_api/api/__pycache__/__init__.cpython-310.pyc index 3936128..e8df8f3 100644 Binary files a/data_api/api/__pycache__/__init__.cpython-310.pyc and b/data_api/api/__pycache__/__init__.cpython-310.pyc differ diff --git a/data_api/api/__pycache__/urls.cpython-310.pyc b/data_api/api/__pycache__/urls.cpython-310.pyc index 7ec5f3c..d118d5c 100644 Binary files a/data_api/api/__pycache__/urls.cpython-310.pyc and b/data_api/api/__pycache__/urls.cpython-310.pyc differ diff --git a/data_api/api/__pycache__/views.cpython-310.pyc b/data_api/api/__pycache__/views.cpython-310.pyc index 5ea2657..7616e78 100644 Binary files a/data_api/api/__pycache__/views.cpython-310.pyc and b/data_api/api/__pycache__/views.cpython-310.pyc differ diff --git a/data_api/urls.py b/data_api/urls.py index 5f33569..82d006a 100644 --- a/data_api/urls.py +++ b/data_api/urls.py @@ -19,7 +19,7 @@ urlpatterns = [ path('process-files/', views.processFiles, name='process-files'), - #path('api/', include('admin_api.api.urls')), + path('api/', include('data_api.api.urls')), ] \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 index 2420992..6565cb2 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ 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