This commit is contained in:
Sebastian Burckhardt 2018-12-12 14:24:49 -08:00
Родитель d525ff3937 4334240483
Коммит d5e02c0fcb
2 изменённых файлов: 15 добавлений и 6 удалений

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

@ -38,17 +38,24 @@ the configuration information that will be used by the
export AMBROSIA_IMMORTALCOORDINATOR_PORT=1500
export AZURE_STORAGE_CONN_STRING=...
To launch a service
To launch a service we're going to use a convenience script called
`runAmbrosiaService.sh` which is included in the binary distribution
of AMBROSIA. This handles starting the immortal coordinator and
monitorying its health. (You could start ImmortalCoordinator
yourself, as well
docker run -it --rm --env "AZURE_STORAGE_CONN_STRING=$AZURE_STORAGE_CONN_STRING" \
--env --env "AMBROSIA_IMMORTALCOORDINATOR_PORT=1600" \
ambrosia-hello runAmbrosiaService.sh dotnet Client2/publish/Client2.dll $CNAME $SNAME
Building and Running: Docker
----------------------------
docker run -it --rm --env "AZURE_STORAGE_CONN_STRING=$AZURE_STORAGE_CONN_STRING" \
--env --env "AMBROSIA_IMMORTALCOORDINATOR_PORT=1600" \
ambrosia-hello runAmbrosiaService.sh dotnet Client2/publish/Client2.dll $CNAME $SNAME
Building and Running: Windows / Visual Studio

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

@ -221,7 +221,9 @@ start_immortal_coordinator -i $AMBROSIA_INSTANCE_NAME -p $AMBROSIA_IMMORTALCOORD
# Step 2:
echo " $TAG Launching app process alongside coordinator:"
set -x
if [ -e /dev/stdin ]; then
# Test for interactive shell:
if tty -s; then
$* < /dev/stdin &
app_pid=$!
else