Search code examples
angularjsgruntjsweb-hostingboweryeoman-generator-angular

What files do I need to host an angularJS website


I'm trying to host my first website. I've made it using angularjs, bootstrap and yeoman as a generator. However when I tried to upload it, I realized that the full size of everything in my folder (including the generated stuff by yeoman) was nearly 100mb.

What files do I actually need to host? Node is nearly 60mb and grunt isn't much smaller. Any advice would be greatly appreciated.


Solution

  • Assuming you have a web server like nginx or apache already on that server, you just need to upload the dist folder that is created when you run grunt build.