Skip to content

How to use this example? #12

@AndreaBarbon

Description

@AndreaBarbon

Hi Nico,

I was able to make this work o my local machine. But now I would like to insert the uploader in one of my existing projects, and I don't know how to do it.
In particular, I don't understand how to use the command

bundle exec rake uploader:deploy

inside my app.

This is what I did so far:

  1. Generated the table uploads and migrated
  2. Copied the code in uploads_helper
  3. Copied all te uploader js files in my asset folder
  4. Set the host in the s3_uploader.js file
  5. Inserted the s3 credentials in environment.rb
  6. copied and rendered the _uploader.html.haml file

But when I choose a file in the form nothing happens.

Please could you tell me what I miss? If you help me I will then write all the steps in your readme ;-)

Thank you very much,

Andrea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions