Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including s3foo with all npm packages installed. Try it out:

var s3foo = require("s3foo")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

s3foo v0.1.0

push your website to s3 with a single command.

s3foo

s3foo is a command-line app, that pushes contents of the current folder to a s3 bucket and enables the bucket as a website.

install

npm install s3foo -g

usage

cd [website]
s3foo
#prompt: bucket: myapp.w3foo.com

configuration

Make sure that you have your AMAZON_ACCESS_KEY_ID and AMAZON_SECRET_ACCESS_KEY setup as environment variables.

export AMAZON_ACCESS_KEY_ID=XXXXX
export AMAZON_SECRET_ACCESS_KEY=XXXX

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free