Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 590 Bytes

README.mdown

File metadata and controls

27 lines (19 loc) · 590 Bytes

= Heroku

Needs some environment variables:

Amazon S3 for assets and uploads:

  • S3_KEY

  • S3_SECRET

  • email_password

heroku config:add key=value

S3

  • Configure: s3cmd --configure -c config/s3cfg s3cmd --configure -c config/uploads-s3cfg

  • Sync assets to s3 run with -n first for dry run cd public s3cmd sync -n -c ../config/s3cfg --acl-public ./ s3://mtwa/ s3cmd sync -c ../config/s3cfg --acl-public ./ s3://mtwa/

    cd mtuploads s3cmd sync -n -c ../config/uploads-s3cfg --acl-public ./ s3://mtwa-uploads/ s3cmd sync -c ../config/s3cfg --acl-public ./ s3://mtwa/