You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sync process will start, regularly checking Mergin service copy/move media files from mergin project to external storage.
34
-
Local drive is a default backend, you need to mount volume from host machine for data to persist.
26
+
The sync process will start, regularly checking Mergin service copy/move media files from a Mergin project to an external storage.
27
+
Local drive is a default backend, you need to mount volume from host machine for data to persist.
35
28
36
29
#### Update reference table in geopackage
37
30
If you'd like to update references to media files (probably useful with MOVE mode), you can run:
@@ -74,6 +67,20 @@ docker run -it \
74
67
75
68
### Installation
76
69
70
+
#### Docker
71
+
The easiest way to run Media sync is with Docker provided on our [docker hub repo](https://hub.docker.com/repository/docker/lutraconsulting/mergin-media-sync). You can build your own local docker image, by first cloning the repo:
If you would like to avoid the manual installation steps, please follow the guide on using sync with Docker above. We use pipenv for managing python virtual environment.
78
85
79
86
```shell
@@ -125,3 +132,14 @@ To run automatic tests:
125
132
export TEST_MINIO_SECRET_KEY=EXAMPLEKEY
126
133
pipenv run pytest test/
127
134
```
135
+
136
+
### Releasing new version
137
+
138
+
1. Update `version.py` and `CHANGELOG.md`
139
+
2. Tag the new version in git repo
140
+
3. Build and upload the new container (both with the new version tag and as the latest tag)
0 commit comments