Update 'README.md'

This commit is contained in:
RK117 2023-06-21 11:12:24 -07:00
parent b9268e8acd
commit 8e0f0880b8
1 changed files with 6 additions and 13 deletions

View File

@ -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
If docker commands aren't running, try using sudo at the start of the commands.