Formatting changes to readme
## Prerequisites
* Docker installed with 'docker-compose' utility
+ https://docs.docker.com/compose/
* InteliJ IDEA with Java 8 installed
+ https://www.jetbrains.com/idea/download/#section=mac
* Git
### Setting up the development environment
* Clone Airavata repository to a local directory
-git clone https://github.com/apache/airavata
+
+ ```git clone https://github.com/apache/airavata```
* Checkout develop branch
-git checkout develop
+
+ ```git checkout develop```
* Open the project using InteliJ IDEA
@@ -24,9 +28,11 @@ git checkout develop
* Add a host entry to /etc/hosts file in local machine
- 127.0.0.1 airavata.host
+ ```127.0.0.1 airavata.host```
+
+* Go to src/main/resources directory and run
-* Go to src/main/resources directory and run docker-compose up
+ ```docker-compose up```
* Wait until all the services come up. This will initialize all utilities required to start Airavata server
@@ -36,17 +42,17 @@ git checkout develop
* Go to src/main/resources/pga directory and run
- docker-compose up -d
+ ```docker-compose up -d```
* Run following command to get the ip address of host machine
This command is for docker containers deployed on Mac OSX
- docker-compose exec pga getent hosts docker.for.mac.host.internal | awk '{ print $1 }'
+ ``` docker-compose exec pga getent hosts docker.for.mac.host.internal | awk '{ print $1 }'```
* Update the host entries of pga container with above ip address
- docker-compose exec pga /bin/sh -c "echo '<host-machine ip> airavata.host' >> /etc/hosts"
+ ```docker-compose exec pga /bin/sh -c "echo '<host-machine ip> airavata.host' >> /etc/hosts"```
* Now PGA should be accessible through http://airavata.host:8008
@@ -54,6 +60,6 @@ git checkout develop
* For each composer file, run
- docker-compose down
+ ```docker-compose down```
- docker-compose rm
\ No newline at end of file
+ ```docker-compose rm```
\ No newline at end of file
