Commit 77bc7eac authored by Giannis Kepas's avatar Giannis Kepas
Browse files

add git instructions

parent db32121a
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ The HTTP Bridge serves as a middleware between the Scorpio Broker and the PostgR

Ensure you have the following installed in your system:

- [Git](https://git-scm.com/downloads)
- [Docker & Docker Compose](https://docs.docker.com/engine/install/)
- [Maven](https://maven.apache.org/download.cgi)
- [Java JDK 17](https://learn.microsoft.com/en-us/java/openjdk/download)
@@ -47,6 +48,15 @@ sudo mv apache-maven-3.9.9/ /opt/
mvn -version
```

## Setup Repository

Open a terminal and type the following command to clone the repository:
```bash
git clone https://netsim.cs.uowm.gr/gitlab/depe/http-scorpio.git
```

If provided, input your GitLab credentials. When the clone is finished, cd into the `http-scorpio` directory.

## Scorpio Broker

Move into the `scorpio-broker` folder and execute the following:
@@ -92,7 +102,7 @@ Move into the `http-bridge` folder and execute the following:
    ```
5. Run the Docker container
    ```bash
    sudo ocker run -d --name http-bridge -p 8080:8080 --env-file .env http-bridge
    sudo docker run -d --name http-bridge -p 8080:8080 --env-file .env http-bridge
    ```

**The bridge will be accessible at: {HOST}:{PORT}**