diff --git a/.gitignore b/.gitignore index 8b6d21f9..ad7b4283 100644 --- a/.gitignore +++ b/.gitignore @@ -96,3 +96,4 @@ pip-selfcheck.json .idea/ package-lock.json .cronenv +.initialized diff --git a/README.md b/README.md index 64243953..b659ae5a 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ A free, user-friendly, extendable application and [API](http://docs.webodm.org) * From the Docker Quickstart Terminal or Powershell (Windows), or from the command line (Mac / Linux), type: ```bash -git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input +git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input --depth 1 cd WebODM ./webodm.sh start ``` @@ -350,7 +350,7 @@ brew install postgres postgis Then these steps should be sufficient to get you up and running: ```bash -git clone https://github.com/OpenDroneMap/WebODM +git clone --depth 1 https://github.com/OpenDroneMap/WebODM ``` Create a `WebODM/webodm/local_settings.py` file containing your database settings: diff --git a/start.sh b/start.sh index 8df18489..a61e50c5 100755 --- a/start.sh +++ b/start.sh @@ -51,8 +51,11 @@ if [ "$1" = "--setup-devenv" ] || [ "$2" = "--setup-devenv" ]; then webpack --watch & fi -echo Cleaning up plugins -./webodm.sh plugin cleanup +if [[ ! -e .initialized ]]; then + echo Cleaning up plugins + ./webodm.sh plugin cleanup + touch .initialized +fi echo Running migrations python manage.py migrate