Skip to content

Commit

Permalink
added formating
Browse files Browse the repository at this point in the history
  • Loading branch information
tkv29 authored May 31, 2024
1 parent 6ac1c01 commit dbcecab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ The easiest way to run a local instance of TracEX is using the provided Docker i

1. Install Docker: Ensure that you have Docker installed on your system. If you haven't installed it yet, please follow the official Docker installation guide for your operating system: Docker Installation.
1. Download the Latest Docker Image: Download the latest TracEX Docker image from the provided link: docker image
1. Load the Docker Image: Open a terminal or command prompt and navigate to the directory where you downloaded the Docker image file. Run the following command to load the image: sudo docker load -i tracex.tar
1. Note: Depending on your system configuration, you may need to run this command with sudo privileges.
1. Run the Docker Container: After the image is successfully loaded, run the following command to start the TracEX container: sudo docker run -p 8000:8000 tracex
1. This command will start the container and map port 8000 from the container to port 8000 on your local machine. Again, you may need to use sudo depending on your system setup.
1. Load the Docker Image: Open a terminal or command prompt and navigate to the directory where you downloaded the Docker image file. Run the following command to load the image: `docker load -i tracex.tar`\
Note: Depending on your system configuration, you may need to run this command with sudo privileges.
1. Run the Docker Container: After the image is successfully loaded, run the following command to start the TracEX container: `docker run -p 8000:8000 tracex`\
This command will start the container and map port 8000 from the container to port 8000 on your local machine. Again, you may need to use sudo depending on your system setup.
1. Access TracEX: Open a web browser and navigate to http://localhost:8000/. This will bring you to the TracEX application, where you can enter your OpenAI Key and start extracting event logs.

**Option 2: Building the Docker Image from Source** \
Alternatively, you can build the Docker image from the TracEX source code.

1. Clone the TracEX Repository: Open a terminal or command prompt and navigate to the directory where you want to clone the TracEX repository. Run the following command to clone the repository: git clone https://github.com/bptlab/TracEX
1. Navigate to the TracEX Directory: Change your current directory to the cloned TracEX repository: cd TracEX
1. Build the Docker Image: Run the following command to build the TracEX Docker image: sudo docker build .
1. Navigate to the TracEX Directory: Change your current directory to the cloned TracEX repository: `cd TracEX`
1. Build the Docker Image: Run the following command to build the TracEX Docker image: `docker build .`\
Note: Depending on your system configuration, you may need to run this command with sudo privileges.
1. Run the Docker Container: After the image is successfully built, run the following command to start the TracEX container: sudo docker run -p 8000:8000 <image-id>
1. Run the Docker Container: After the image is successfully built, run the following command to start the TracEX container: `docker run -p 8000:8000 <image-id>`\
Replace <image-id> with the ID of the Docker image that was just built. This command will start the container and map port 8000 from the container to port 8000 on your local machine. Again, you may need to use sudo depending on your system setup.
1. Access TracEX: Open a web browser and navigate to http://localhost:8000/. This will bring you to the TracEX application, where you can enter your OpenAI Key and start extracting event logs.

Expand Down

0 comments on commit dbcecab

Please sign in to comment.