dustinspecker / generator-ng-poly

Yeoman generator for modular AngularJS apps with Gulp and optional Polymer support
MIT License
237 stars 50 forks source link

Deploy Angular app in Windows Server? #349

Open ktkanishka opened 8 years ago

ktkanishka commented 8 years ago

Hi I need a help, I'm totally new to Angular and Web technologies, I'm using this generator for building my app. I'm using windows 2012 server and I want to know how and what files do I need to upload to run the app on the server? I tried gulp --stage prod and copy all the folders inside build folder into below path: C:\inetpub\wwwroot\www.mydomain.lk\ (all the files copied, including index.html)

jancel commented 8 years ago

Point your app server (iis presumably) to your app/ dir (where the index.html file is) and make sure it's configured to see the index.html file.

I usually do this stuff in Linux, so it's been a few years since I've used Windows.

On Friday, September 9, 2016, Kanishka Raveendra notifications@github.com wrote:

Hi I need a help, I'm totally new to Angular and Web technologies, I'm using this generator for building my app. I'm using windows 2012 server and I want to know how and what files do I need to upload to run the app on the server? I tried gulp --stage prod and copy all the folders inside build folder into below path: C:\inetpub\wwwroot\www.mydomain.lk(all the files copied, including index.html)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dustinspecker/generator-ng-poly/issues/349, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJmvqEzFdv0YFmS1SVCVp2QiINhm73Zks5qoTFJgaJpZM4J45rZ .

Jeff Ancel

(314) 703-8829 - Main

www.jeffancel.com

ktkanishka commented 8 years ago

Hi Jancel, Thank you very much for the help. But still I cannot get it to working. When I upload only an index.html its working, but when upload whole app/ folder its giving me 403 - Forbidden: Access is denied. Is there something I need check again when setting permissions? When I type mydomain.lk/app/#home its working but it's giving above error when I access mydomain.lk?

dustinspecker commented 7 years ago

I'm really sorry, I do not have experience with Windows servers.

Have you figured out anything further? I'd be more than glad to add steps to the readme if there are additional steps required for Windows servers.