From 26ff8d8defd45b0fc7acaa57f6029869821727f5 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Mon, 27 Apr 2020 11:58:27 +0100 Subject: [PATCH] Fix name of s3_media_upload script and other minor README cleanups (#35) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e3e8b5f..3c5910c 100644 --- a/README.md +++ b/README.md @@ -44,14 +44,14 @@ described [here](https://boto3.readthedocs.io/en/latest/guide/configuration.html Regular cleanup job ------------------- -There is additionally a `s3_media_upload.py` which can be used in a regular job -to upload content to s3, then delete that from local disk. This script can be -used in combination with configuration for the storage provider to pull media -from s3, but upload it asynchronously. +There is additionally a script at `scripts/s3_media_upload` which can be used +in a regular job to upload content to s3, then delete that from local disk. +This script can be used in combination with configuration for the storage +provider to pull media from s3, but upload it asynchronously. Once the package is installed, the script should be run somewhat like the -following. We suggest using tmux or screen as these can take a long time on -larger servers. +following. We suggest using `tmux` or `screen` as these can take a long time +on larger servers. `database.yaml` should contain the keys that would be passed to psycopg2 to connect to your database. They can be found in the contents of the