@@ -1000,7 +1000,7 @@ Fork and clone repository
10001000
10011001First, let's fork the ODM repo, and checkout a new branch locally that will function as our development branch.
10021002
1003- .. code-block :: bash
1003+ :: bash
10041004 git checkout -b my_clever_new_change
10051005 # Switched to a new branch 'my_clever_new_change'
10061006
@@ -1009,7 +1009,7 @@ Set up local NodeODM docker instance
10091009
10101010Next, we will set up a NodeODM instance with a locally mounted volume that points to our development branch of ODM
10111011
1012- .. code-block :: bash
1012+ :: bash
10131013 docker run -d --restart unless-stopped -p 3000:3000 -v /path/to/cloned/ODM/repository/data:/code opendronemap/nodeodm
10141014
10151015Modify code
@@ -1027,22 +1027,22 @@ Connect to NodeODM instance
10271027
10281028Let us find out our container name, in case we forgot:
10291029
1030- .. code-block :: bash
1030+ :: bash
10311031 docker ps
10321032 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
10331033 c997a4c5611b opendronemap/nodeodm "/usr/bin/node /var/…" 2 minutes ago Up 2 minutes 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp affectionate_yalow
10341034
10351035Now that we know the container name, we will connect to that instance using docker exec as follows:
10361036
1037- .. code-block :: bash
1037+ :: bash
10381038 docker exec -it affectionate_yalow bash
10391039
10401040Install and use changes
10411041-----------------------
10421042
10431043Let us get the environment prepared for our testing:
10441044
1045- .. code-block :: bash
1045+ :: bash
10461046 root@c997a4c5611b:/var/www# cd /code
10471047 ./configure.sh installruntimedepsonly
10481048 mkdir /code/SuperBuild/build
@@ -1051,7 +1051,7 @@ Let us get the environment prepared for our testing:
10511051
10521052Next we can rebuild Ceres.
10531053
1054- .. code-block :: bash
1054+ :: code-block:: bash
10551055 cmake ../.
10561056 make -j$(nproc) ceres
10571057 ...
0 commit comments