Added proposed changes by @mojodna

pull/120/head
Piero Toffanin 2017-03-16 09:35:41 -04:00
rodzic 1c6a2810b1
commit 1edd5f470b
4 zmienionych plików z 9 dodań i 8 usunięć

Wyświetl plik

@ -14,8 +14,7 @@ RUN pip install -r requirements.txt
ADD . /webodm/
RUN git submodule init
RUN git submodule update
RUN git submodule update --init
# Install Node.js
RUN curl --silent --location https://deb.nodesource.com/setup_6.x | bash -

Wyświetl plik

@ -1,7 +1,8 @@
#!/bin/bash
set -eo pipefail
__dirname=$(cd $(dirname "$0"); pwd -P)
./webodm.sh checkenv
${__dirname}/webodm.sh checkenv
usage(){
echo "Usage: $0 <command> [options]"
@ -25,7 +26,7 @@ start(){
}
stop(){
run "./webodm.sh stop"
run "${__dirname}/webodm.sh stop"
}
runtests(){

Wyświetl plik

@ -32,7 +32,7 @@ If you can follow the instructions to [run WebODM natively](https://github.com/O
## 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:

Wyświetl plik

@ -1,4 +1,6 @@
#!/bin/bash
__dirname=$(cd $(dirname "$0"); pwd -P)
cd ${__dirname}
echo -e "\033[92m"
echo " _ __ __ ____ ____ __ ___"
@ -36,9 +38,8 @@ fi
if [ $1 = "--setup-devenv" ] || [ $2 = "--setup-devenv" ]; then
echo Setup git modules...
git submodule init
git submodule update
git submodule update --init
echo Setup npm dependencies...
npm install