-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from tiltnyc/upgrade-node-0.8
- Loading branch information
Showing
9 changed files
with
38 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ node_modules | |
public/stylesheets/*.css | ||
*.sw[nomp] | ||
npm-debug.log | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
language: node_js | ||
node_js: | ||
- 0.6 | ||
- 0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
this is the web application for tilt, which creates and manages a virtual market, with investment occuring within a series of rounds. | ||
|
||
__current version__: 0.3 (in development) | ||
|
||
#current status | ||
|
||
|
@@ -12,7 +13,7 @@ this is the web application for tilt, which creates and manages a virtual market | |
|
||
#developer requirements | ||
* local installation of [mongodb (v2.0.2+)](http://www.mongodb.org/downloads). | ||
* local install of node `0.6.8`+ | ||
* local install of node `0.8.3`+ | ||
|
||
#installation | ||
* clone source `git clone [email protected]:justinjmoses/tilt.git` | ||
|
@@ -28,7 +29,8 @@ this is the web application for tilt, which creates and manages a virtual market | |
* to change the port: | ||
|
||
port=5000 coffee app | ||
* alternatively, if you install foreman `npm install -g foreman`, you can run via foreman which will run using the web workers/dynos processes that heroku employs: | ||
|
||
* alternatively, if you install foreman ([download heroku toolkit](https://toolbelt.heroku.com/)), you can run via foreman which will run using the web workers/dynos processes that heroku employs: | ||
|
||
foreman start | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,20 @@ | |
, "description": "live event app for tilt" | ||
, "version": "0.2.0" | ||
, "private": true | ||
, "author": "justin j. moses (http://about.me/justinj)" | ||
, "author": "tiltnyc (http://github.com/tiltnyc)" | ||
, "contributors": [ | ||
{ | ||
"name": "justin j. moses" | ||
, "email": "[email protected]" | ||
} | ||
, { | ||
"name": "jon storer" | ||
, "email": "[email protected]" | ||
} | ||
] | ||
, "engines": { | ||
"node" : "0.6.8" | ||
, "npm" : "1.0.x" | ||
"node" : "0.8.3" | ||
, "npm" : "1.1.43" | ||
} | ||
, "devDependencies": { | ||
"cucumber" : ">= 0.2.15" | ||
|
@@ -18,9 +28,9 @@ | |
, "database-cleaner" : ">= 0.7.0" | ||
} | ||
, "dependencies": { | ||
"express" : "= 2.5.9" | ||
"express" : "= 2.5.11" | ||
, "stylus" : ">= 0.13.7" | ||
, "jade" : "= 0.20.0" | ||
, "jade" : "= 0.27.0" | ||
, "mongoose" : ">= 2.5.0" | ||
, "gzippo" : ">= 0.0.7" | ||
, "express-messages" : ">= 0.0.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
tr(class="investment") | ||
td.round-column | ||
#{investment.round} | ||
=investment.round | ||
td.text-column | ||
#{investment.team.name} | ||
=investment.team.name | ||
td.value-column | ||
#{(investment.percentage * 100).toFixed(2)}% | ||
| #{Math.roundToFixed(investment.percentage * 100, 2)}% | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
tr(class="transaction") | ||
td.round-column | ||
#{transaction.round} | ||
=transaction.round | ||
td.text-column | ||
#{transaction.label} | ||
=transaction.label | ||
td.value-column | ||
$#{transaction.amount.toFixed(2)} | ||
$#{Math.roundToFixed(transaction.amount, 2)} | ||
|