Development of the project:
"Web Platform for Experiments with the Friends-of-Friends Hybrid Parallel Algorithm for Astronomical Objects Classification"
Original application developed by Otávio Madalosso: https://github.com/Madalosso/TG/tree/master/Django%20Proj/webfriends
- Install Poetry.
- In the root directory of this repository, install the requirements with
$ poetry install
. - Install redis-server (e.g.
# apt install redis-server
) - Create a
.env
file in the top level of this repository containing data for the following variables:
EMAIL_HOST = ''
EMAIL_HOST_USER = ''
SERVER_EMAIL = ''
DEFAULT_FROM_EMAIL = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 587
- Start the applications:
$ redis-server # Start the Redis server
$ poetry run ./manage.py runserver # Start the Django app
$ poetry run celery -A webfriends worker --loglevel=DEBUG # Start the Celery worker
Finally, open http://localhost:8000 in a graphical web browser.