-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (41 loc) · 1.23 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
run:
cd ../; ./sbt "project stac-example" run --public-url http://localhost:9000
assembly:
cd ../; ./sbt "project stac-example" assembly
postgres:
docker-compose up -d
migrations:
docker run \
--network stac-example_default \
quay.io/azavea/franklin:538d079 \
migrate \
--db-user franklin \
--db-name franklin \
--db-password franklin \
--db-host database
import-test-catalog:
docker run \
--network stac-example_default \
-e AWS_REGION=us-east-1 \
-v ${PWD}/catalog:/opt/data/ \
quay.io/azavea/franklin:538d079 \
import \
--db-user franklin \
--db-name franklin \
--db-password franklin \
--db-host database \
--catalog-root /opt/data/landsat-stac-layers/catalog.json
run-franklin:
docker run \
--network stac-example_default \
-p 9090:9090 \
-d \
quay.io/azavea/franklin:538d079 \
serve \
--db-user franklin \
--db-name franklin \
--db-password franklin \
--db-host database
run-geotrellis-server: assembly
java -jar ${PWD}/target/scala-2.12/geotrellis-stac-example.jar --public-url http://localhost:9000
run: postgres migrations import-test-catalog run-franklin run-geotrellis-server