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
###
elasticsearch
Authentication and authorization are enabled.
TLS for the transport and HTTP layers is enabled and configured.
The generated password for the elastic built-in superuser is : ZyRJLXmUYNlTSza8tMLk
If this node should join an existing cluster, you can reconfigure this with
'/usr/share/elasticsearch/bin/elasticsearch-reconfigure-node --enrollment-token '
after creating an enrollment token on your existing cluster.
You can complete the following actions at any time:
Reset the password of the elastic built-in superuser with
'/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic'.
Generate an enrollment token for Kibana instances with
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana'.
Generate an enrollment token for Elasticsearch nodes with
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s node'.