Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Do a minor cleanup
1. demo/plain -> demo/simple 2. updated README.MD
Showing
16 changed files
with
38 additions
and
6 deletions.
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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
function normalize_path() | ||
{ | ||
# Remove all /./ sequences. | ||
local path=${1//\/.\//\/} | ||
|
||
# Remove dir/.. sequences. | ||
while [[ $path =~ ([^/][^/]*/\.\./) ]] | ||
do | ||
path=${path/${BASH_REMATCH[0]}/} | ||
done | ||
echo $path | ||
} | ||
|
||
cd "$(dirname "$0")" | ||
./download-midpoint | ||
docker build --tag tier/midpoint:latest midpoint-server | ||
echo "---------------------------------------------------------------------------------------" | ||
echo "The midPoint containers were successfully built. To start them, execute the following:" | ||
echo "" | ||
echo "(for simple demo)" | ||
echo "" | ||
echo "$ cd" $(normalize_path `pwd`/../demo/simple) | ||
echo "$ docker-compose up --build" | ||
echo "" | ||
echo "(for complex demo)" | ||
echo "" | ||
echo "$ cd" $(normalize_path `pwd`/../demo/complex) | ||
echo "$ docker-compose up --build" |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.