update music store scripts and readme to use netcoreapp2.1

This commit is contained in:
Tim Hess 2018-05-29 08:08:40 -05:00
Родитель 83e1f1357d
Коммит 03cbc3dc38
17 изменённых файлов: 17 добавлений и 17 удалений

Просмотреть файл

@ -151,7 +151,7 @@ No changes are required to the application configuration files before pushing th
Once the services have been created and ready on CloudFoundry (i.e. check via `cf services`) then you can use the provided `push*.cmd or push*.sh` commands to startup the individual application services on CloudFoundry. For example to start the ShoppingCart service:
1. `cd Samples/MusicStore`
1. `pushShoppingCartService.cmd win10-x64 netcoreapp2.0` or `./pushShoppingCartService.sh ubuntu.14.04-x64 netcoreapp2.0`
1. `pushShoppingCartService.cmd win10-x64 netcoreapp2.1` or `./pushShoppingCartService.sh ubuntu.14.04-x64 netcoreapp2.1`
Note: If you wish to use the Redis cache for storing Session state, you will have to set ENVIRONMENT variable `DefineConstants=USE_REDIS_CACHE` before building and pushing the MusicUI application.

Просмотреть файл

@ -13,5 +13,5 @@ exit /b
echo USAGE:
echo pushMusicStoreService [runtime] [framework]
echo runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)
echo framework - target framework to publish (e.g. net461, netcoreapp2.0)
echo framework - target framework to publish (e.g. net461, netcoreapp2.1)
exit /b

Просмотреть файл

@ -4,7 +4,7 @@ function printUsage()
echo "USAGE:"
echo "pushMusicStoreService [runtime] [framework]"
echo "runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.0)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.1)"
exit
}
#

Просмотреть файл

@ -18,5 +18,5 @@ exit /b
echo USAGE:
echo pushMusicStoreUI [runtime] [framework]
echo runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)
echo framework - target framework to publish (e.g. net461, netcoreapp2.0)
echo framework - target framework to publish (e.g. net461, netcoreapp2.1)
exit /b

Просмотреть файл

@ -4,7 +4,7 @@ function printUsage()
echo "USAGE:"
echo "pushMusicStoreUI [runtime] [framework]"
echo "runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.0)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.1)"
exit
}
#

Просмотреть файл

@ -13,5 +13,5 @@ exit /b
echo USAGE:
echo pushOrderService [runtime] [framework]
echo runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)
echo framework - target framework to publish (e.g. net461, netcoreapp2.0)
echo framework - target framework to publish (e.g. net461, netcoreapp2.1)
exit /b

Просмотреть файл

@ -4,7 +4,7 @@ function printUsage()
echo "USAGE:"
echo "pushOrderService [runtime] [framework]"
echo "runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.0)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.1)"
exit
}
#

Просмотреть файл

@ -13,5 +13,5 @@ exit /b
echo USAGE:
echo pushShoppingCartService [runtime] [framework]
echo runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)
echo framework - target framework to publish (e.g. net461, netcoreapp2.0)
echo framework - target framework to publish (e.g. net461, netcoreapp2.1)
exit /b

Просмотреть файл

@ -4,7 +4,7 @@ function printUsage()
echo "USAGE:"
echo "pushShoppingCartService [runtime] [framework]"
echo "runtime - target runtime to publish (e.g. win10-x64, ubuntu.14.04-x64)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.0)"
echo "framework - target framework to publish (e.g. net461, netcoreapp2.1)"
exit
}
#

Просмотреть файл

@ -1,4 +1,4 @@
cd src\MusicStoreService
dotnet restore --configfile nuget.config
start "Music Store Service" dotnet run --framework netcoreapp2.0
start "Music Store Service" dotnet run --framework netcoreapp2.1
cd ..\..

Просмотреть файл

@ -1,5 +1,5 @@
#!/bin/bash
cd src/MusicStoreService
dotnet restore --configfile nuget.config
dotnet run --framework netcoreapp2.0
dotnet run --framework netcoreapp2.1
cd ../..

Просмотреть файл

@ -1,5 +1,5 @@
cd src\MusicStoreUI
SET BUILD=LOCAL
dotnet restore --configfile nuget.config
start "Music Store UI" dotnet run --framework netcoreapp2.0
start "Music Store UI" dotnet run --framework netcoreapp2.1
cd ..\..

Просмотреть файл

@ -1,5 +1,5 @@
#!/bin/bash
cd src/MusicStoreUI
dotnet restore --configfile nuget.config
dotnet run --framework netcoreapp2.0
dotnet run --framework netcoreapp2.1
cd ../..

Просмотреть файл

@ -1,4 +1,4 @@
cd src\OrderService
dotnet restore --configfile nuget.config
start "Music Store Order Service" dotnet run --framework netcoreapp2.0
start "Music Store Order Service" dotnet run --framework netcoreapp2.1
cd ..\..

Просмотреть файл

@ -1,5 +1,5 @@
#!/bin/bash
cd src/OrderService
dotnet restore --configfile nuget.config
dotnet run --framework netcoreapp2.0
dotnet run --framework netcoreapp2.1
cd ../..

Просмотреть файл

@ -1,4 +1,4 @@
cd src\ShoppingCartService
dotnet restore --configfile nuget.config
start "Music Store Cart Service" dotnet run --framework netcoreapp2.0
start "Music Store Cart Service" dotnet run --framework netcoreapp2.1
cd ..\..

Просмотреть файл

@ -1,5 +1,5 @@
#!/bin/bash
cd src/ShoppingCartService
dotnet restore --configfile nuget.config
dotnet run --framework netcoreapp2.0
dotnet run --framework netcoreapp2.1
cd ../..