Hi All,
I have an AngularJS app that works with Grunt serve on my local machine using bower dependency. The folder structure on my machine looks something like this: MyApplication--app--bower_components--bower.json--Gruntfile.js--package.json I'm trying to deploy this application on an Nginx server. I've successfully managed to set up server blocks <https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts> and I'm pointing the subdomain (sub.domain.com) to /var/www/sub.domain.com/app i.e. MyApplication folder on the server is /var/www/sub.domain.com When I tried to access it, I get the error that files linked to bower_components folder not found so I copied the bower_components folder manually in app folder. Now it works, I can see the pages, but the css is not working and it seems some scripts also not working. I assume, on my local machine, Grunt serve creates some virtual link up of files which is not being done on Nginx. I'm fairly new to this javascript front end framework (consider me a noob) and couldn't find tutorials on deploying AngularJS (with bower dependencies) application on Nginx. Any help would be appreciated, thanks. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.