Skip to content

Commit

Permalink
add sourcePath in the installation
Browse files Browse the repository at this point in the history
  • Loading branch information
GeReinhart committed May 11, 2020
1 parent 65e8a22 commit 64df249
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
8 changes: 5 additions & 3 deletions docker/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ cat $applicationFile
if [ -f "$gitDataDir" ]; then
echo "$gitDataDir is is already there..."
else
mkdir $gitDataDir >2 /dev/null
mkdir $gitDataDir 2> /dev/null
echo "$gitDataDir ready to get data"
fi

if [ -f "$dataDir" ]; then
echo "$dataDir is is already there..."
else
mkdir $dataDir >2 /dev/null
mkdir $dataDir 2> /dev/null
echo "$dataDir ready to get data"
fi

Expand Down Expand Up @@ -119,9 +119,11 @@ echo ""
echo ""
echo "Register theGardener:"

sourceUrlTemplate=' "sourceUrlTemplate": "https://github.com/KelkooGroup/theGardener/blob/${branch}/${path}", '

curl -X POST "http://localhost:9000/api/projects" \
-H "accept: application/json" -H "Content-Type: application/json" \
-d "{ \"id\": \"theGardener\", \"name\": \"theGardener\", \"repositoryUrl\": \"https://github.com/KelkooGroup/theGardener.git\", \"stableBranch\": \"master\", \"displayedBranches\": \"master\", \"featuresRootPath\": \"test/features\", \"documentationRootPath\": \"documentation\", \"variables\": [{ \"name\": \"\${openApi.json.url}\", \"value\": \"http://localhost:9000/api/docs/swagger.json\"}]}"
-d "{ \"id\": \"theGardener\", \"name\": \"theGardener\", \"repositoryUrl\": \"https://github.com/KelkooGroup/theGardener.git\", $sourceUrlTemplate \"stableBranch\": \"master\", \"displayedBranches\": \"master\", \"featuresRootPath\": \"test/features\", \"documentationRootPath\": \"documentation\", \"variables\": [{ \"name\": \"\${openApi.json.url}\", \"value\": \"http://localhost:9000/api/docs/swagger.json\"}]}"


echo ""
Expand Down
10 changes: 2 additions & 8 deletions documentation/global/documentation/LetsGetStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,13 @@ To use theGardener to serve your documentation, follow the next steps:

[=> Install an instance with Docker](thegardener://navigate/_doc/theGardener/master/_Admin/Install).

After this step you will have a running instance of theGardener with
- default colors, logos, titles
After this step you will have a running instance of theGardener that looks like your own back office
- the [UI customized](thegardener://navigate/_doc/theGardener/master/_Admin/Configure#ui-settings)
- a simple hierarchy with one node
- one project, theGardener project, attached to this node

### Configure the instance

#### Customize the UI

[=> Choose your logo, title, colors...](thegardener://navigate/_doc/theGardener/master/_Admin/Configure#ui-settings)

After this step you will have a running instance of theGardener that looks like your own back office.

#### Define the hierarchy to host your projects

[=> Configure the hierarchy tree](thegardener://navigate/_doc/theGardener/master/_Admin/Configure#hierarchy)
Expand Down

0 comments on commit 64df249

Please sign in to comment.