1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00

added compress

This commit is contained in:
Aiko Mastboom 2013-05-12 02:03:05 +02:00
parent 4ab2d7ff5f
commit de24e1e1b0
3 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ npm install -g http://github.com/aikomastboom/fleet/archive/0.1.9.tar.gz
fi
# deploy new commit
fleet-deploy && fleet-exec -- npm --cache-min=99999 install && fleet-exec -- npm rebuild bson
fleet-deploy && fleet-exec -- npm --cache-min 99999 install && fleet-exec -- npm rebuild bson
#DEPLOYED_COMMIT=${git log -n 1 | head -n 1 | cut -d " " -f 2}
# stop running one

View File

@ -23,7 +23,8 @@
"devDependencies": {
"sockjs": "~0.3.7",
"chai": "*",
"mocha": "*"
"mocha": "*",
"sinon": "*"
},
"repository": "git://github.com/aikomastboom/Prototyper.git",
"author": "Aiko Mastboom",

View File

@ -62,6 +62,8 @@ config.debug && console.log('config loaded');
var app = express();
config.debug && app.use(connect.logger());
app.use(express.compress());
if (!process.env.NODE_ENV) {
app.get('/favicon.ico', function (req, res) {
res.sendfile(config.statics.dev_favicon_path);