Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions #1

Open
villanus opened this issue Aug 15, 2013 · 3 comments
Open

Update instructions #1

villanus opened this issue Aug 15, 2013 · 3 comments
Assignees

Comments

@villanus
Copy link

Please update instructions for running in a production environment. In which case its best to run IISdeply as its own site and not part of the site you are actually deploying. The reason for this is the application pool IISDeploy runs in needs to run as a user identity. Go to the app pools advanced settings menu then change the pipeline to classic, enable 32 bit apps, change its identity to a user account (create a new windows account with password for this), and set Load user profile to true so that it has iis6 style permissions.

You also need to give this user full permissions to the cmd prompt, and your msysgit folder.

@tshwangq
Copy link
Owner

that is nice. can you make a push?

@ghost ghost assigned tshwangq Aug 18, 2013
@villanus
Copy link
Author

The instructions above are still wrong. Creating the new windows user account will still not have access to the git ssh keys. The best way I figured out around this is: 1. RDP and login as the user who will be used as the application pool identity / git. 2. Configure git using that user. 3. Install Git Credentials Manager http://gitcredentialstore.codeplex.com/ 4. Do a git pull through windows cmd prompt (the first time so you can save your credentials). 5. Configure IIS Deploy as the described above where the application pool impersonates the identity of the user you logged in as (administrator or whatever user you created). 6. Make sure that user has full write / modify permissions on the directories where other www sites are stored. In my case its c:\www-sites

Please let me know if the above makes sense. If so, I will create a new file and do a pull request.

@tshwangq
Copy link
Owner

looks gr8!

On Sun, Aug 25, 2013 at 7:26 AM, Frank notifications@github.com wrote:

The instructions above are still wrong. Creating the new windows user
account will still not have access to the git ssh keys. The best way I
figured out around this is: 1. RDP and login as the user who will be used
as the application pool identity / git. 2. Configure git using that user.
3. Install Git Credentials Manager http://gitcredentialstore.codeplex.com/4. Do a git pull through windows cmd prompt (the first time so you can save
your credentials). 5. Configure IIS Deploy as the described above where the
application pool impersonates the identity of the user you logged in as
(administrator or whatever user you created). 6. Make sure that user has
full write / modify permissions on the directories where other www sites
are stored. In my case its c:\www-sites

Please let me know if the above makes sense. If so, I will create a new
file and do a pull request.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-23218618
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants