-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|