You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Tony Kovanen 68b68f924c Use node-fetch 9 years ago
bin initial commit 9 years ago
lib Use node-fetch 9 years ago
scripts Extact login logic to separate function 9 years ago
test initial commit 9 years ago
.eslintrc.json initial commit 9 years ago
.gitignore .gitignore: ignore build 9 years ago
Readme.md initial commit 9 years ago
gulpfile.js Add registration script skeleton 9 years ago
package.json Merge branch 'master' of github.com:zeithq/now into add/registration 9 years ago

Readme.md

now

The fastest way to deploy a Node.JS service.

How it works

In any directory with a package.json, run:

$ now
> https://some-code-nd23n2.now.sh

every time you run it, you get a new URL (unless nothing's changed).

Conventions

  • Only files that would be included in npm publish are synchronized.
  • package.json files, .npmignore, .gitignore supported
  • package.json must contain a start task inside scripts. If a now script is defined, that's used instead.
  • Your HTTP server is expected to run in port 3000.

Installing

$ npm install -g now
> Enter your email: rauchg@gmail.com.
> We sent an email. Click to log in.

Features

  • No reliance on Git.
  • File de-duping.
  • Respects NPM conventions.

Options

-d  Debug mode. Lists all files to be uploaded.
-f  Force. Creates a new URL even if nothing has changed.