You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/tutorials.rst
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1000,7 +1000,7 @@ Fork and clone repository
1000
1000
1001
1001
First, let's fork the ODM repo, and checkout a new branch locally that will function as our development branch.
1002
1002
1003
-
:: bash
1003
+
::
1004
1004
1005
1005
git checkout -b my_clever_new_change
1006
1006
# Switched to a new branch 'my_clever_new_change'
@@ -1010,7 +1010,7 @@ Set up local NodeODM docker instance
1010
1010
1011
1011
Next, we will set up a NodeODM instance with a locally mounted volume that points to our development branch of ODM
1012
1012
1013
-
:: bash
1013
+
::
1014
1014
1015
1015
docker run -d --restart unless-stopped -p 3000:3000 -v /path/to/cloned/ODM/repository/data:/code opendronemap/nodeodm
1016
1016
@@ -1019,8 +1019,6 @@ Modify code
1019
1019
1020
1020
For our test today, we will attempt to upgrade Ceres Solver to version 2.2.0. Most external libraries like Ceres can be found in the Superbuild directory. In this case we edit SuperBuild/cmake/External-Ceres.cmake, and set it to use version 2.2.0
1021
1021
1022
-
*** Vimdiff image
1023
-
1024
1022
Now that we've made that small, but substantive change, we need to rebuild Ceres on the docker image for testing.
1025
1023
1026
1024
@@ -1029,15 +1027,15 @@ Connect to NodeODM instance
1029
1027
1030
1028
Let us find out our container name, in case we forgot:
1031
1029
1032
-
:: bash
1030
+
::
1033
1031
1034
1032
docker ps
1035
1033
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1036
1034
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
1037
1035
1038
1036
Now that we know the container name, we will connect to that instance using docker exec as follows:
1039
1037
1040
-
:: bash
1038
+
::
1041
1039
1042
1040
docker exec -it affectionate_yalow bash
1043
1041
@@ -1046,7 +1044,7 @@ Install and use changes
1046
1044
1047
1045
Let us get the environment prepared for our testing:
1048
1046
1049
-
:: bash
1047
+
::
1050
1048
1051
1049
root@c997a4c5611b:/var/www# cd /code
1052
1050
./configure.sh installruntimedepsonly
@@ -1056,7 +1054,7 @@ Let us get the environment prepared for our testing:
0 commit comments