Cleanup plugins only when container is created

pull/499/head
Piero Toffanin 2018-08-12 10:55:05 -04:00
rodzic efaa337f3a
commit 945d744b72
3 zmienionych plików z 8 dodań i 4 usunięć

1
.gitignore vendored
Wyświetl plik

@ -96,3 +96,4 @@ pip-selfcheck.json
.idea/
package-lock.json
.cronenv
.initialized

Wyświetl plik

@ -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:

Wyświetl plik

@ -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