From 1861a419b1487c43ae8a7cae93ee4a46ee885708 Mon Sep 17 00:00:00 2001 From: tomerb3 <34286391+tomerb3@users.noreply.github.com> Date: Wed, 24 Jan 2018 19:57:52 +0200 Subject: [PATCH] update --- README.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 235131b..a1e22c2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,32 @@ # observeit -observeit test + +when i commit and push the GIT data where html and pyton script is + + +in the git server: (for example our puppet linux) + +script /git/puppet.git/hooks/post-receive + + #it will call script: web-post-receive.sh + + +web-post-receive.sh : will kill process, then copy new data (html) and start flask service + + + + + + +if its windows + + +net stop WAS + +xcopy *.* C:\inetpub\wwwroot\ /y /r /c + +net start WAS + +#or: + +Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI +