grep exit code fix, docs update

pull/625/head
Piero Toffanin 2019-02-18 13:04:26 -05:00
rodzic 1676cb22c6
commit 2b9c346ac9
3 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -314,7 +314,7 @@ You don't necessarily need to be a developer to become a contributor. We can use
If you know how to code, we primarily use Python (Django), Javascript (React), HTML and SCSS. See the [Development Quickstart](http://docs.webodm.org/#development-quickstart) and [Contributing](/CONTRIBUTING.md) documents for more information.
To make a contribution, you will need to open a pull request ([here's how](https://github.com/Roshanjossey/first-contributions#fork-this-repository)). To make changes to WebODM, make a clone of the repository and run `./devenv.sh start`.
To make a contribution, you will need to open a pull request ([here's how](https://github.com/Roshanjossey/first-contributions#fork-this-repository)). To make changes to WebODM, make a clone of the repository and run `./webodm.sh start --dev`.
If you have questions visit us on the [forum](http://community.opendronemap.org/c/webodm) and we'll be happy to help you out with your first contribution.

Wyświetl plik

@ -22,7 +22,7 @@ Once you have a development environment, read about the [project overview](#proj
Follow the [Getting Started](https://github.com/OpenDroneMap/WebODM#getting-started) instructions, then run:
`./devenv.sh start`
`./webodm.sh start --dev`
That's it! You can modify any of the files, including SASS and React.js files. Changes will be reflected in the running WebODM instance automatically.
@ -36,7 +36,7 @@ We think testing is a necessary part of delivering robust software. We try to ac
To run the unit tests, simply type:
`./devenv.sh runtests`
`./webodm.sh test`
## Project Overview

Wyświetl plik

@ -346,8 +346,7 @@ plugin_disable(){
run_tests(){
# If in a container, we run the actual test commands
# otherwise we launch this command from the container
in_container=$(grep 'docker\|lxc' /proc/1/cgroup)
in_container=$(grep 'docker\|lxc' /proc/1/cgroup || true)
if [[ "$in_container" != "" ]]; then
echo -e "\033[1mRunning frontend tests\033[0m"
run "npm run test"