Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the requirements.txt file #100

Merged
merged 7 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Welcome to the SAGUARO target and observation manager for GW follow-up.

```bash
% cd /var/www/saguaro_tom
% python3 manage.py collectstatic # only the first time you start the development server
% python3 manage.py runserver
```

Expand Down Expand Up @@ -83,7 +84,7 @@ sudo nohup python manage.py readstreams > /home/saguaro/alertstreams.log 2>&1 &
## Allowing for asynchronous tasks
We use [redis](https://redis.io) and [dramatiq](https://dramatiq.io) to run asynchronous tasks (e.g., ATLAS forced photometry queries).
Redis is installed according to the instructions on its [readme](https://github.com/redis/redis).
Dramatiq is configured according to the [TOM Toolkit documentation](https://tom-toolkit.readthedocs.io/en/stable/managing_data/forced_photometry.html#configuring-your-tom-to-serve-tasks-asynchronously).
Dramatiq is configured according to the [TOM Toolkit documentation](https://tom-toolkit.readthedocs.io/en/stable/managing_data/single_target_data_service.html#configuring-your-tom-to-serve-tasks-asynchronously).
These should automatically restart when `sand` restarts, thanks to this cronjob (run as root):
```
@reboot /usr/local/bin/redis-server > /home/saguaro/redis.log 2>&1
Expand Down
10 changes: 6 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@ astroplan
astropy
django
django-crispy-forms
django-dramatiq
django-extensions
django-filter
django-guardian
django-phonenumber-field[phonenumberslite]
dramatiq[watch, redis]
healpix-alchemy
healpy
kne-cand-vetting @ git+https://github.com/SAGUARO-MMA/kne-cand-vetting
lightcurve-fitting
ligo.skymap
numpy
tomtoolkit~=2.18.2
tomtoolkit==2.18.2
tom-alertstreams
tom-mmt~=0.1.3
tom-nonlocalizedevents~=0.7.7
tom-swift~=0.2.0
tom-mmt @ git+https://github.com/griffin-h/tom_mmt
tom-nonlocalizedevents==0.8.1
tom-swift==0.2.0
twilio
paramiko
plotly
Expand Down