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:

  1. npm install -g grunt-cli
  2. npm install -g bower
  3. npm install
  4. bower install
  5. 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

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -