Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Bin/CLI Boot
Browse files Browse the repository at this point in the history
  • Loading branch information
bencevans committed Oct 17, 2012
1 parent 55e2091 commit e5c6ff4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions bin/quickgit
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env node

var quickgit = require('../app.js');

quickgit.listen(3000);
console.log("QuickGit is listening on port " + 3000);
console.log("Open your browser to http://localhost:" + 3000 + "/");
console.log();
console.log("To stop, press ctrl + c");
4 changes: 2 additions & 2 deletions package.json
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,6 @@
{ {
"name": "quickgit", "name": "quickgit",
"version": "0.0.0", "version": "0.0.1",
"private": "true",
"description": "Temp Git Repo Host to Send a Git Repo to a Friend Quickly that's behind a firewall", "description": "Temp Git Repo Host to Send a Git Repo to a Friend Quickly that's behind a firewall",
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
Expand All @@ -18,6 +17,7 @@
"cheerio": "~0.10.1", "cheerio": "~0.10.1",
"mocha": "~1.6.0" "mocha": "~1.6.0"
}, },
"bin":"bin/quickgit",
"scripts": { "scripts": {
"test": "node_modules/mocha/bin/mocha test.js" "test": "node_modules/mocha/bin/mocha test.js"
}, },
Expand Down

0 comments on commit e5c6ff4

Please sign in to comment.