-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
46 lines (33 loc) · 1.19 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
build:
docker-compose build
build-web:
docker-compose build web
web:
docker-compose up web
bash:
docker-compose exec web bash
paster:
docker-compose exec web paster --plugin=ckan
db-init:
docker-compose exec web paster --plugin=ckan db init
db-upgrade:
docker-compose exec web paster --plugin=ckan db upgrade
rebuild-index:
docker-compose exec web paster --plugin=ckan search-index rebuild -r
issues-init:
docker-compose exec web paster --plugin=ckanext-issues issues init_db
ckan:
docker build --no-cache --build-arg CKAN_VERSION=2.9.0 -t codeforafrica/ckan:latest -t codeforafrica/ckan:2.9.0 contrib/ckan
ckan-publish:
docker push codeforafrica/ckan:latest
docker push codeforafrica/ckan:2.9.0
solr:
docker build --no-cache --build-arg CKAN_VERSION=2.9.0 -t codeforafrica/ckan-solr:latest -t codeforafrica/ckan-solr:2.9.0 contrib/solr
solr-publish:
docker push codeforafrica/ckan-solr:latest
docker push codeforafrica/ckan-solr:2.8.11
datapusher:
docker build -t codeforafrica/ckan-datapusher:latest -t codeforafrica/ckan-datapusher:0.0.15 contrib/ckan-datapusher
datapusher-publish:
docker push codeforafrica/ckan-datapusher:latest
docker push codeforafrica/ckan-datapusher:0.0.15