Added url shortener service install scripts
This commit is contained in:
parent
ef806e6c2b
commit
8bbe383e78
@ -21,6 +21,9 @@ call build\scripts\people.sh
|
||||
echo "ASC.Web.Files.Client"
|
||||
call build\scripts\files.sh
|
||||
|
||||
echo "ASC.UrlShortener"
|
||||
call build\scripts\urlshortener.sh
|
||||
|
||||
echo "ASC.Web.sln"
|
||||
call dotnet build ASC.Web.sln /fl1 /flp1:LogFile=build/ASC.Web.log;Verbosity=Normal
|
||||
|
||||
|
@ -27,5 +27,10 @@ xcopy ..\products\ASC.People\Client\*.* publish\ASC.People.Client\ /E /R /Y
|
||||
echo "Publish ASC.Web.Client project"
|
||||
xcopy ..\web\ASC.Web.Client\*.* publish\ASC.Web.Client\ /E /R /Y
|
||||
|
||||
echo "Publish ASC.UrlShortener.Svc.csproj project"
|
||||
dotnet publish ..\common\services\ASC.UrlShortener.Svc\ASC.UrlShortener.Svc.csproj -c Release -o publish/ASC.UrlShortener.Svc/
|
||||
xcopy ..\common\ASC.UrlShortener\*.* publish\ASC.UrlShortener\ /E /R /Y
|
||||
if not %errorlevel% == 0 goto end
|
||||
|
||||
:end
|
||||
pause
|
@ -34,6 +34,9 @@ call yarn link "asc-web-components" --cwd products/ASC.Files/Client
|
||||
call yarn link "asc-web-common" --cwd products/ASC.Files/Client
|
||||
call yarn install --cwd products/ASC.Files/Client > build\ASC.Web.Files.Client.log
|
||||
|
||||
echo "ASC.UrlShortener"
|
||||
call yarn install --cwd common/ASC.UrlShortener > build\ASC.UrlShortener.log
|
||||
|
||||
echo "ASC.Web.sln"
|
||||
call dotnet build ASC.Web.sln /fl1 /flp1:LogFile=build/ASC.Web.log;Verbosity=Normal
|
||||
|
||||
|
2
build/run/UrlShortenerService.bat
Normal file
2
build/run/UrlShortenerService.bat
Normal file
@ -0,0 +1,2 @@
|
||||
echo "RUN ASC.UrlShortener.Svc"
|
||||
call dotnet run --project ..\..\common\services\ASC.UrlShortener.Svc\ASC.UrlShortener.Svc.csproj --no-build --$STORAGE_ROOT=..\..\..\Data --log__dir=..\..\..\Logs --log__name=urlshortener
|
1
build/scripts/urlshortener.sh
Normal file
1
build/scripts/urlshortener.sh
Normal file
@ -0,0 +1 @@
|
||||
yarn install --cwd common/ASC.UrlShortener --frozen-lockfile
|
Loading…
Reference in New Issue
Block a user