kopia lustrzana https://github.com/OpenDroneMap/WebODM
Cleanup plugins only when container is created
rodzic
efaa337f3a
commit
945d744b72
|
@ -96,3 +96,4 @@ pip-selfcheck.json
|
|||
.idea/
|
||||
package-lock.json
|
||||
.cronenv
|
||||
.initialized
|
||||
|
|
|
@ -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:
|
||||
|
|
7
start.sh
7
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
|
||||
|
|
Ładowanie…
Reference in New Issue