forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (27 loc) · 1.13 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
up:
# bring up the services
docker-compose up -d
build:
docker-compose build django
docker-compose build celery
sync: up
# set up the database tablea
docker-compose exec django django-admin.py makemigrations --noinput
docker-compose exec django django-admin.py migrate account --noinput
docker-compose exec django django-admin.py migrate --noinput
docker-compose exec django django-admin.py loaddata sample_admin
wait:
sleep 5
logs:
docker-compose logs --follow
down:
docker-compose down
pull:
docker-compose pull
smoketest: up
docker-compose exec django python manage.py test geonode.tests.smoke --nocapture --detailed-errors --verbosity=1 --failfast
unittest: up
docker-compose exec django python manage.py test geonode.people.tests geonode.base.tests geonode.layers.tests geonode.maps.tests geonode.proxy.tests geonode.security.tests geonode.social.tests geonode.catalogue.tests geonode.documents.tests geonode.api.tests geonode.groups.tests geonode.services.tests geonode.geoserver.tests geonode.upload.tests geonode.tasks.tests --noinput --failfast
test: smoketest unittest
reset: down up wait sync
hardreset: pull build reset