From 8e0f0880b8dc540fed53d8666e318a27222b5515 Mon Sep 17 00:00:00 2001 From: RK117 Date: Wed, 21 Jun 2023 11:12:24 -0700 Subject: [PATCH] Update 'README.md' --- README.md | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e378a95..cb96b56 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,8 @@ -To install the docker, first you need git installed. To do so, run sudo apt install git +Go to the releases section of this repository to get the setup script, follow the instructions there to get the docker running. You do not need anything beside a fresh ubuntu install. -After you have installed git, move to whichever directory you want to host the project (for example cd ~) +Once the docker is built, enter it by: +- starting a new terminal window +- check the name of the docker using docker ps +- enter it using docker exec -it (name of docker) bash -Run git clone https://git.spirirobotics.com/scorpio1/PX4Docker.git - -Run cd PX4Docker - -If you previously have docker installed, you should be able to launch the docker file using docker compose up --build, other you need to run the install script - -To run the install script, use the commands chmod u+x px4dockersetup.sh followed by sudo ./px4dockersetup.sh - -Once the docker is built, you can enter it by checking the name of the docker using docker ps, and enter it using docker exec -it (name of docker) bash - -If docker commands aren't running, try using sudo \ No newline at end of file +If docker commands aren't running, try using sudo at the start of the commands. \ No newline at end of file