Skip to content

noentiger/NodeAmazonS3Upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeAmazonS3Upload

Installation

Ensure Node is installed. This can be done through your package manager or from their website.

Clone this repository:

$ git clone https://github.com/noentiger/NodeAmazonS3Upload.git

Change directory into the application and use npm to install the application's dependencies:

$ cd NodeAmazonS3Upload
$ npm install
$ npm run dev

Running the application

  • Set environment variables for your AWS access key, secret, and bucket name.
$ S3_BUCKET = xxx AWSAccessKeyId = xxx AWSSecretKey = xxx

Deploying the application

See the article Deploying with Git for more detailed information on deploying to Heroku.

  • Download and install the Heroku toolbelt

  • Commit your application to a local Git repository (e.g. git init, git add ., git commit -m "version 1 commit", etc.)

  • Create the application on Heroku by adding a Git remote ($ heroku create)

  • Push your code to the new Heroku repo ($ git push heroku master)

  • Or just use the button

Deploy

  • Set environment variables
§ heroku config:set S3_BUCKET = xxx AWSAccessKeyId = xxx AWSSecretKey = xxx

Licensing

The files in this repository are, unless stated otherwise, released under the Apache License. You are free to redistribute this code with or without modification. The full license text is available here.

About

Simple Node Server for Uploading Images to Amazon S3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published