A Portal to support SMILES Project
-
Follow the instructions for installing the Airavata Django Portal
-
settings.py file
For the correct operation of this Django project, the following configurations should be added to your
settings.py
file:# Max upload size is set to 2GB FILE_UPLOAD_MAX_FILE_SIZE = 1024 * 1024 * 1024 * 2 # Celery settings CELERY_BROKER_URL = "redis://localhost:6379" CELERY_RESULT_BACKEND = "redis://localhost:6379"
-
To build the frontend, navigate to
smiles-django-portal/frontend
and runyarn run build
-
With the Airavata Django Portal virtual environment activated, clone this repo and install it into the portal's virtual environment
cd smiles-django-portal pip install -e .
-
Start (or restart) the Django Portal server.
python manage.py runserver
-
Run the Redis Server
redis-server
-
Run Celery worker
python -m celery -A smiles worker -l info
-
Follow the instructions and run Apache Airavata Data Catalog - https://github.com/apache/airavata-data-catalog