Skip to content

Instantly share code, notes, and snippets.

@lyhcode
Created May 25, 2012 10:16
Show Gist options
  • Select an option

  • Save lyhcode/2787141 to your computer and use it in GitHub Desktop.

Select an option

Save lyhcode/2787141 to your computer and use it in GitHub Desktop.
ACAD_TAJ project build files for windows
@echo off
set path=C:\Program Files (x86)\Git\bin;%path%
git pull
pause
{
"name": "acad_taj"
, "version": "0.0.1"
, "private": true
, "config": {
"port": "3000"
}
, "scripts": {
"start": "node app.js"
, "forever": "forever -w start app.js"
}
, "engines": {
"node": "0.6.x"
, "npm": "1.1.x"
}
, "dependencies": {
"express": "latest"
, "jade": "latest"
, "mongoskin": "latest"
, "connect-mongodb": "git://github.com/lyhcode/connect-mongodb.git"
, "connect-cache": "latest"
, "cloudfoundry": "latest"
, "formidable": "latest", "crc": "latest"
}
}
<configuration>
<system.webServer>
<handlers>
<add name="iisnode" path="app.js" verb="*" modules="iisnode" />
</handlers>
<iisnode
nodeProcessCountPerApplication="0"
maxConcurrentRequestsPerProcess="1024"
/>
<rewrite>
<rules>
<rule name="express">
<match url="/*" />
<action type="Rewrite" url="app.js" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment