kopia lustrzana https://github.com/OpenDroneMap/WebODM
Removed ALTER SYSTEM set, users will just have to set those options manually. This is done automatically in Docker.
rodzic
d6ef80986f
commit
3a6e270d27
13
README.md
13
README.md
|
@ -17,7 +17,7 @@ If you know Python, web technologies (JS, HTML, CSS, etc.) or both, make a fork,
|
||||||
- [Python](https://www.python.org/downloads/)
|
- [Python](https://www.python.org/downloads/)
|
||||||
- [Git](https://git-scm.com/downloads)
|
- [Git](https://git-scm.com/downloads)
|
||||||
|
|
||||||
* From the Docker Quickstart Terminal (Windows) or from the command line (OSX / Linux) type:
|
* From the Docker Quickstart Terminal (Windows) or from the command line (Mac / Linux) type:
|
||||||
```
|
```
|
||||||
git clone https://github.com/OpenDroneMap/WebODM
|
git clone https://github.com/OpenDroneMap/WebODM
|
||||||
cd WebODM
|
cd WebODM
|
||||||
|
@ -31,7 +31,7 @@ pip install docker-compose
|
||||||
docker-machine ip
|
docker-machine ip
|
||||||
```
|
```
|
||||||
|
|
||||||
Linux / OSX, users can connect to 127.0.0.1.
|
Linux / Mac, users can connect to 127.0.0.1.
|
||||||
|
|
||||||
* Open a Web Browser to `http://<yourDockerMachineIp>:8000`
|
* Open a Web Browser to `http://<yourDockerMachineIp>:8000`
|
||||||
* Log in with the default credentials: "admin:admin"
|
* Log in with the default credentials: "admin:admin"
|
||||||
|
@ -82,7 +82,7 @@ Then these steps should be sufficient to get you up and running:
|
||||||
git clone https://github.com/OpenDroneMap/WebODM
|
git clone https://github.com/OpenDroneMap/WebODM
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a `WebODM\webodm\local_settings.py` file containing:
|
Create a `WebODM\webodm\local_settings.py` file containing your database settings:
|
||||||
|
|
||||||
```
|
```
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
|
@ -97,6 +97,13 @@ DATABASES = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
From psql or [pgadmin](https://www.pgadmin.org), connect to the database and set the [postgis.enable_outdb_rasters](http://postgis.net/docs/manual-2.2/postgis_enable_outdb_rasters.html) and [postgis.gdal_enabled_drivers](http://postgis.net/docs/postgis_gdal_enabled_drivers.html) settings:
|
||||||
|
|
||||||
|
```sql
|
||||||
|
ALTER SYSTEM SET postgis.enable_outdb_rasters TO True;
|
||||||
|
ALTER SYSTEM SET postgis.gdal_enabled_drivers TO 'GTiff';
|
||||||
|
```
|
||||||
|
|
||||||
Then:
|
Then:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
dependencies = [("app", "0001_initial")]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RunSQL("ALTER SYSTEM SET postgis.enable_outdb_rasters TO True;"),
|
|
||||||
migrations.RunSQL("ALTER SYSTEM SET postgis.gdal_enabled_drivers TO 'GTiff';")
|
|
||||||
]
|
|
Ładowanie…
Reference in New Issue