Fix name of s3_media_upload script and other minor README cleanups (#35)

This commit is contained in:
Andrew Morgan 2020-04-27 11:58:27 +01:00 committed by GitHub
parent e4adf02bfd
commit 26ff8d8def
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,14 +44,14 @@ described [here](https://boto3.readthedocs.io/en/latest/guide/configuration.html
Regular cleanup job Regular cleanup job
------------------- -------------------
There is additionally a `s3_media_upload.py` which can be used in a regular job There is additionally a script at `scripts/s3_media_upload` which can be used
to upload content to s3, then delete that from local disk. This script can be in a regular job to upload content to s3, then delete that from local disk.
used in combination with configuration for the storage provider to pull media This script can be used in combination with configuration for the storage
from s3, but upload it asynchronously. provider to pull media from s3, but upload it asynchronously.
Once the package is installed, the script should be run somewhat like the 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 following. We suggest using `tmux` or `screen` as these can take a long time
larger servers. on larger servers.
`database.yaml` should contain the keys that would be passed to psycopg2 to `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 connect to your database. They can be found in the contents of the