kopia lustrzana https://github.com/OpenDroneMap/WebODM
Added proposed changes by @mojodna
rodzic
1c6a2810b1
commit
1edd5f470b
|
@ -14,8 +14,7 @@ RUN pip install -r requirements.txt
|
||||||
|
|
||||||
ADD . /webodm/
|
ADD . /webodm/
|
||||||
|
|
||||||
RUN git submodule init
|
RUN git submodule update --init
|
||||||
RUN git submodule update
|
|
||||||
|
|
||||||
# Install Node.js
|
# Install Node.js
|
||||||
RUN curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
|
RUN curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
__dirname=$(cd $(dirname "$0"); pwd -P)
|
||||||
|
|
||||||
./webodm.sh checkenv
|
${__dirname}/webodm.sh checkenv
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
echo "Usage: $0 <command> [options]"
|
echo "Usage: $0 <command> [options]"
|
||||||
|
@ -25,7 +26,7 @@ start(){
|
||||||
}
|
}
|
||||||
|
|
||||||
stop(){
|
stop(){
|
||||||
run "./webodm.sh stop"
|
run "${__dirname}/webodm.sh stop"
|
||||||
}
|
}
|
||||||
|
|
||||||
runtests(){
|
runtests(){
|
||||||
|
|
|
@ -32,7 +32,7 @@ If you can follow the instructions to [run WebODM natively](https://github.com/O
|
||||||
|
|
||||||
## Run Unit Tests
|
## Run Unit Tests
|
||||||
|
|
||||||
We believe testing is a necessary part of deliverying software of a certain quality. We try to achieve complete test coverage for backend code, while we are more relaxed about front end testing. See [#119](https://github.com/OpenDroneMap/WebODM/issues/119).
|
We think testing is a necessary part of delivering robust software. We try to achieve complete test coverage for backend code, while we are more relaxed about front end testing. See [#119](https://github.com/OpenDroneMap/WebODM/issues/119).
|
||||||
|
|
||||||
To run the unit tests, simply type:
|
To run the unit tests, simply type:
|
||||||
|
|
||||||
|
|
7
start.sh
7
start.sh
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
__dirname=$(cd $(dirname "$0"); pwd -P)
|
||||||
|
cd ${__dirname}
|
||||||
|
|
||||||
echo -e "\033[92m"
|
echo -e "\033[92m"
|
||||||
echo " _ __ __ ____ ____ __ ___"
|
echo " _ __ __ ____ ____ __ ___"
|
||||||
|
@ -36,9 +38,8 @@ fi
|
||||||
|
|
||||||
if [ $1 = "--setup-devenv" ] || [ $2 = "--setup-devenv" ]; then
|
if [ $1 = "--setup-devenv" ] || [ $2 = "--setup-devenv" ]; then
|
||||||
echo Setup git modules...
|
echo Setup git modules...
|
||||||
|
|
||||||
git submodule init
|
git submodule update --init
|
||||||
git submodule update
|
|
||||||
|
|
||||||
echo Setup npm dependencies...
|
echo Setup npm dependencies...
|
||||||
npm install
|
npm install
|
||||||
|
|
Ładowanie…
Reference in New Issue