Add additional files to improve testing process
This commit is contained in:
parent
2e5fb2104c
commit
35ee7a2be0
7 changed files with 131 additions and 0 deletions
12
WebsitePanel/Tools/SetupTestWebsites.ps1
Normal file
12
WebsitePanel/Tools/SetupTestWebsites.ps1
Normal file
|
@ -0,0 +1,12 @@
|
|||
Import-Module WebAdministration
|
||||
|
||||
cd ..
|
||||
$path = pwd
|
||||
cd Tools
|
||||
|
||||
New-Website -Name "WebsitePanel Server" -Port 9003 -PhysicalPath "$path\Sources\WebsitePanel.Server" -ErrorAction SilentlyContinue
|
||||
New-Website -Name "WebsitePanel Enterprise Server" -Port 9002 -PhysicalPath "$path\Sources\WebsitePanel.EnterpriseServer" -ErrorAction SilentlyContinue
|
||||
New-Website -Name "WebsitePanel Portal" -Port 9001 -PhysicalPath "$path\Sources\WebsitePanel.WebPortal" -ErrorAction SilentlyContinue
|
||||
|
||||
|
||||
|
33
WebsitePanel/Tools/StartWebsite.ps1
Normal file
33
WebsitePanel/Tools/StartWebsite.ps1
Normal file
|
@ -0,0 +1,33 @@
|
|||
Write-Host -ForegroundColor Green "
|
||||
Ensure that you have created the EnterpriseServer Database
|
||||
by executing test-createDB.bat and compiled WebsitePanel by
|
||||
executing build-test.bat .
|
||||
|
||||
Configuration:
|
||||
|
||||
WebsitePanel Portal:
|
||||
|
||||
URL: http://localhost:9001
|
||||
Login: serveradmin
|
||||
Password: 1234
|
||||
|
||||
|
||||
WebsitePanel Enterprise Server:
|
||||
URL: http://localhost:9002
|
||||
Database Login: WebsitePanel
|
||||
Database Password: Password12
|
||||
|
||||
|
||||
WebsitePanel Server:
|
||||
URL: http://localhost:9003
|
||||
Password: Password12
|
||||
"
|
||||
|
||||
start http://localhost:9001
|
||||
|
||||
Read-Host "Press a key"
|
||||
|
||||
|
||||
|
||||
|
||||
|
2
WebsitePanel/Tools/build-test.bat
Normal file
2
WebsitePanel/Tools/build-test.bat
Normal file
|
@ -0,0 +1,2 @@
|
|||
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ..\test.xml /target:BuildTest /property:BuildConfiguration=Debug /v:n /fileLogger /m
|
||||
Pause
|
3
WebsitePanel/Tools/start-test.bat
Normal file
3
WebsitePanel/Tools/start-test.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
powershell . ".\StartWebsite.ps1"
|
||||
Pause
|
1
WebsitePanel/Tools/test-createDB.bat
Normal file
1
WebsitePanel/Tools/test-createDB.bat
Normal file
|
@ -0,0 +1 @@
|
|||
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ..\test.xml /target:CreateTestDB /property:BuildConfiguration=Debug /v:n /fileLogger /m
|
1
WebsitePanel/Tools/test-updateDB.bat
Normal file
1
WebsitePanel/Tools/test-updateDB.bat
Normal file
|
@ -0,0 +1 @@
|
|||
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ..\test.xml /target:UpdateTestDB /property:BuildConfiguration=Debug /v:n /fileLogger /m
|
Loading…
Add table
Add a link
Reference in a new issue