node.js - How to start angularjs app with teamcity -
i've created angularjs application restful node backend service. i'm using teamcity build , deploy application windows server build steps are:
- npm install -g grunt-cli
- npm install -g bower
- npm install
- bower install
grunt build
...
my nuget package looks like:
<?xml version="1.0"?> <package > <metadata> <id>#id#</id> <version>#version#</version> <authors>#authors#</authors> <requirelicenseacceptance>false</requirelicenseacceptance> <description>#description#</description> </metadata> <files> <file src="package.json" target="package.json" /> <file src="bower.json" target="bower.json" /> <file src="index.js" target="index.js" /> <file src="elastic.backend.js" target="elastic.backend.js" /> <file src="redis.backend.js" target="redis.backend.js" /> <file src="mongo.backend.js" target="mongo.backend.js" /> <file src="locranks.js" target="locranks.js" /> <file src="persontypes.js" target="persontypes.js" /> <file src="gruntfile.js" target="gruntfile.js" /> <file src="app\**\*" target="app" /> <file src="dist\**\*" target="dist" /> <file src="services.xml" target="services.xml" /> <file src="config\**\*" target="config" /> <file src="lib\**\*" target="lib" /> </files> </package> and services.xml:
<?xml version="1.0" encoding="utf-8"?> <services> <service id="1" run="c:\\program files\\nodejs\\node.exe" args="index.js esrd-dashboard" /> </services> the node backend service starts , running though dist/ folder has been created , contains minified app/ contents have no clue how start frontend of application. grunt serve doesn't work , neither http-server. how can automate starting frontend teamcity.
Comments
Post a Comment