###Follow the instructions below these instructions assume you used Grunt to create the basic project structure and are packaging the app for deployment using grunt build:dist
-
Enter the grunt command to build the application from project root
grunt build:dist
-
Enter the following commands to copy needed files to dist directory, this assumes you placed them in a folder called
acs_deploy
cp acs_deploy/app.js dist/app.js
cp acs_deploy/package.json dist/package.json
-
Login to acs, using your appcelerator credentials acs login
-
Deploy app to acs using the following command
acs publish -d . --force
The output from the publish command should provide you with a url where the application can be accessed from a web browser
Using node-static
to create a small webserver which is used to serve the static pages of teh angular JS application.
See the github repo fpr more information - https://github.com/cloudhead/node-static