Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
document s3 credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
antonagestam committed Jun 29, 2019
1 parent 33b06c5 commit 45feec7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
/static_root/
build/
dist/
aws-credentials
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,16 @@ open and welcome.

**Testing**

The test suite is built to run against an S3 bucket. To be able to test locally
you need to provide AWS credentials for a bucket to test against. Add the
credentials to a file named `aws-credentials` in the root of the project
directory:

.. code:: bash
export AWS_ACCESS_KEY_ID=''
export AWS_SECRET_ACCESS_KEY=''
To run tests with tox, setup a virtualenv and install tox with
``pip install tox`` then run ``tox`` in the project directory. To only run
tests for a certain environment run e.g. ``tox -e py35-django110``.
Expand Down

0 comments on commit 45feec7

Please sign in to comment.