1
0
Fork 0

Add remove_remote_user_preview_images command

This commit is contained in:
Joachim 2022-12-17 17:34:27 +01:00
parent 8c34b23c35
commit 09c095cfec
3 changed files with 66 additions and 0 deletions

4
bw-dev
View file

@ -223,6 +223,9 @@ case "$CMD" in
generate_preview_images)
runweb python manage.py generate_preview_images "$@"
;;
remove_remote_user_preview_images)
runweb python manage.py remove_remote_user_preview_images
;;
copy_media_to_s3)
awscommand "bookwyrm_media_volume:/images"\
"s3 cp /images s3://${AWS_STORAGE_BUCKET_NAME}/images\
@ -300,6 +303,7 @@ case "$CMD" in
echo " populate_suggestions"
echo " generate_thumbnails"
echo " generate_preview_images [--all]"
echo " remove_remote_user_preview_images"
echo " copy_media_to_s3"
echo " sync_media_to_s3"
echo " set_cors_to_s3 [cors file]"