You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
i have to set up this credentials ~/.aws/credentials in my django projet but i don't know what is this first time i seen it please tell me where and how i have to add this in my django project. i want to setup this because i am getting this error (boto.exception.S3ResponseError: S3ResponseError: 400 Bad Request) in py django project when i am running "python manage.py collectstatic" command and my reasion is mumbai. i uploaded my website on heroku but that not showing images so i am trying to serve it using aws s3 but due to this error message i am not able to move further many people recommend to setup this " ~/.aws/credentials" so please tell me in detail what i have to do ?
The text was updated successfully, but these errors were encountered:
i got that to create .aws or .aws/credentials first of all you have to install the AWS CLI with pip (Windows) like this "pip install awscli" to confirm that it is installed or not type command (C:\Windows\System32> aws --version) it will show the version of aws cli and location will be (aws-cli/1.11.84 Python/3.6.2 Windows/7 botocore/1.5.47)
after then install MSI installer (64-bit) (https://s3.amazonaws.com/aws-cli/AWSCLI64.msi) this link for 64 bit only.
then it's time to create Credentials for that type command(make sure pip should be installed) "aws configure" it will ask for AWS Access Key ID [****************55EQ], AWS Secret Access Key [****************FqCk],Default region name [Mumbai], D**efault output format [None]:**you provide all the values
that's it now go to (C:\Users\UserName) there you will see the .aws fill will be generate which will hold the credential file
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
i have to set up this credentials ~/.aws/credentials in my django projet but i don't know what is this first time i seen it please tell me where and how i have to add this in my django project. i want to setup this because i am getting this error (boto.exception.S3ResponseError: S3ResponseError: 400 Bad Request) in py django project when i am running "python manage.py collectstatic" command and my reasion is mumbai. i uploaded my website on heroku but that not showing images so i am trying to serve it using aws s3 but due to this error message i am not able to move further many people recommend to setup this " ~/.aws/credentials" so please tell me in detail what i have to do ?
The text was updated successfully, but these errors were encountered: