Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bin/CLI Boot

  • Loading branch information...
commit e5c6ff4923a3d723e6799a89777a4a516cebc044 1 parent 55e2091
@bencevans authored
Showing with 11 additions and 2 deletions.
  1. +9 −0 bin/quickgit
  2. +2 −2 package.json
View
9 bin/quickgit
@@ -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");
View
4 package.json
@@ -1,7 +1,6 @@
{
"name": "quickgit",
- "version": "0.0.0",
- "private": "true",
+ "version": "0.0.1",
"description": "Temp Git Repo Host to Send a Git Repo to a Friend Quickly that's behind a firewall",
"main": "app.js",
"dependencies": {
@@ -18,6 +17,7 @@
"cheerio": "~0.10.1",
"mocha": "~1.6.0"
},
+ "bin":"bin/quickgit",
"scripts": {
"test": "node_modules/mocha/bin/mocha test.js"
},
Please sign in to comment.
Something went wrong with that request. Please try again.