Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Install Cartoview Docker #177

Closed
dpadron opened this issue Sep 12, 2018 · 1 comment
Closed

Error Install Cartoview Docker #177

dpadron opened this issue Sep 12, 2018 · 1 comment

Comments

@dpadron
Copy link

dpadron commented Sep 12, 2018

Hello, an error is generated when installing cartoview master in ubuntu server 16.04

Make run

django.core.serializers.base.DeserializationError: Problem installing fixture '/code/scripts/json/default_oauth_apps.json': Application has no field named u'updated'
Makefile:6: fallo en las instrucciones para el objetivo 'sync'
make: *** [sync] Error 1

error_cartoview

@hishamkaram
Copy link
Contributor

replace the Makefile content with the following:

up:
	# bring up the services
	docker-compose up -d

sync: up
	# set up the database tablea
	docker-compose exec cartoview python manage.py migrate
	docker-compose exec cartoview python manage.py loaddata sample_admin.json
	docker-compose exec cartoview python manage.py loaddata default_oauth_apps.json
	docker-compose exec cartoview python manage.py loaddata app_stores.json
	docker-compose exec cartoview python manage.py loaddata initial_data.json


prepare_manager: up
        #make migration for app_manager
	docker-compose exec cartoview python manage.py makemigrations app_manager
migrate_account: up
	docker-compose exec cartoview python manage.py migrate account
migrate:
	docker-compose exec cartoview python manage.py migrate --noinput
wait:
	sleep 5
logs:
	docker-compose logs --follow
logs_tail:
	docker-compose logs --follow --tail 100
logs_tail_cartoview:
	docker-compose logs --follow --tail 100 cartoview
logs_tail_geoserver:
	docker-compose logs --follow --tail 100 geoserver
down:
	docker-compose down
reset: down up wait sync

collect_static: up
	docker-compose exec cartoview python manage.py collectstatic --noinput
run: up wait prepare_manager sync collect_static

static_db: up sync wait collect_static

update:
	docker-compose exec cartoview pip install cartoview --no-cache-dir -U
	docker-compose restart cartoview
new_app: collect_static
	docker-compose restart cartoview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants