Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
fix synced folder issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VimukthiPerera committed Mar 20, 2018
1 parent 75af62f commit 314ec90
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,26 @@ for MySQL, [Connector/J](https://dev.mysql.com/downloads/connector/j/5.1.html).
1. Checkout this repository into your local machine using the following Git command.

```
git clone https://github.com/wso2/vagrant-is.git
git clone https://github.com/wso2/vagrant-is.git
```
>If you are to try out an already released zip of this repo, please ignore this 1st step.
2. Move to `vagrant-is` folder.

```
cd vagrant-is
cd vagrant-is
```
>If you are to try out an already released zip of this repo, please ignore this 2nd step also. Instead, extract the zip file and directly browse to `vagrant-is-<released-version>` folder.
>If you are to try out an already released tag, after executing 2nd step, checkout the relevant tag, i.e. for example: <br> git checkout tags/v5.4.1.4 and continue below steps.
3. Spawn up the Vagrant setup.

```
vagrant up
vagrant up
```
4. Access the Identity Server and Identity Server Analytics via the URLs given below.

```
For Identity Server - https://localhost:9443/carbon
For Identity Server Analytics - https://localhost:9444/carbon
```
For Identity Server - https://localhost:9443/carbon
For Identity Server Analytics - https://localhost:9444/carbon
3 changes: 3 additions & 0 deletions identity-server-analytics/provisioner/product_provisioner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ echo "Successfully copied the files."
export JAVA_HOME
export WUM_PATH

echo "Removing configurations directories."
rm -rf ${CONFIGURATIONS}

# start the WSO2 product pack as a background service
echo "Starting ${WSO2_SERVER}-${WSO2_SERVER_VERSION}..."
sh ${WORKING_DIRECTORY}/${WSO2_SERVER}-${WSO2_SERVER_VERSION}/bin/wso2server.sh start
Expand Down
3 changes: 3 additions & 0 deletions identity-server/provisioner/product_provisioner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ echo "Successfully copied the files."
export JAVA_HOME
export WUM_PATH

echo "Removing configurations directories."
rm -rf ${CONFIGURATIONS}

# start the WSO2 product pack as a background service
echo "Starting ${WSO2_SERVER}-${WSO2_SERVER_VERSION}..."
sh ${WORKING_DIRECTORY}/${WSO2_SERVER}-${WSO2_SERVER_VERSION}/bin/wso2server.sh start
Expand Down
3 changes: 3 additions & 0 deletions mysql/provisioner/db_provisioner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ echo "Grant access to the user..."
mysql -u${DB_USER} -p${DB_PASSWORD} -e "grant all privileges on *.* to 'root'@'%' with grant option;"
mysql -u${DB_USER} -p${DB_PASSWORD} -e "flush privileges;"
echo "Successfully granted access to the user."

echo "Removing configurations directories."
rm -rf ${WORKING_DIRECTORY}/mysql

0 comments on commit 314ec90

Please sign in to comment.