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
Copy file name to clipboardExpand all lines: README.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,13 +177,27 @@ set. Check the script for the specific variables in your environment.
177
177
## Deployment command
178
178
179
179
```(bash)
180
-
docker run -p 80:80 --env-file .env -d -t ifrcgo/go-api:{TAG_NUMBER}
180
+
docker-compose up serve celery
181
+
```
182
+
or (just the base serve command):
183
+
```(bash)
184
+
docker-compose run --rm --service-ports serve
181
185
```
182
-
183
186
## Comment for loading data
184
187
185
188
In `main/runserver.sh` the line containing the `loaddata` command is only necessary when creating a new database. In other cases it might be causing the conflict, so it is commented.
# Management commands to update and import admin0 and admin1 data
188
202
189
203
There are two Django management commands that helps to work with ICRC admin0 and admin1 shapefiles. These commands should be used only when you want to update geometries, or import new ones from a shapefile. The structure of the shapefile is not very flexible, but can be adjusted easily in the scripts.
0 commit comments