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/
|
.idea/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
.cronenv
|
.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:
|
* From the Docker Quickstart Terminal or Powershell (Windows), or from the command line (Mac / Linux), type:
|
||||||
```bash
|
```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
|
cd WebODM
|
||||||
./webodm.sh start
|
./webodm.sh start
|
||||||
```
|
```
|
||||||
|
@ -350,7 +350,7 @@ brew install postgres postgis
|
||||||
Then these steps should be sufficient to get you up and running:
|
Then these steps should be sufficient to get you up and running:
|
||||||
|
|
||||||
```bash
|
```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:
|
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 &
|
webpack --watch &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo Cleaning up plugins
|
if [[ ! -e .initialized ]]; then
|
||||||
./webodm.sh plugin cleanup
|
echo Cleaning up plugins
|
||||||
|
./webodm.sh plugin cleanup
|
||||||
|
touch .initialized
|
||||||
|
fi
|
||||||
|
|
||||||
echo Running migrations
|
echo Running migrations
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
|
|
Ładowanie…
Reference in New Issue