Make s3 bucket variable work

bonus: instruction not to include s3:// in the bucket name
This commit is contained in:
Peter Bull 2015-11-03 13:58:35 -05:00
parent 5214aeefa3
commit 4e29e24bfe
2 changed files with 3 additions and 3 deletions

View File

@ -3,5 +3,5 @@
"repo_name": "{{ cookiecutter.project_name|replace(' ', '_') }}",
"author_name": "Your name (or your organization/company/team)",
"description": "A short description of the project.",
"s3_bucket": "your-bucket-for-syncing-data"
"s3_bucket": "your-bucket-for-syncing-data (do not include 's3://')"
}

View File

@ -23,10 +23,10 @@ lint:
flake8 .
sync_data_to_s3:
s3cmd sync --recursive data/ s3://$( BUCKET )/data/
s3cmd sync --recursive data/ s3://$(BUCKET)/data/
sync_data_from_s3:
s3cmd sync --recursive s3://$( BUCKET )/data/ data/
s3cmd sync --recursive s3://$(BUCKET)/data/ data/
#################################################################################
# PROJECT RULES #