Skip to content

Commit

Permalink
Missed two
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Jun 6, 2019
1 parent 6b2b48d commit fd198e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aleph.env.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ ALEPH_OAUTH_SECRET=
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=

# Queue mechanism
# REDIS_URL=redis://redis:6379/0

# Content options
ALEPH_OCR_DEFAULTS=eng
# ALEPH_LANGUAGES=en:de:fr:es:tr:ar ...
Expand Down
3 changes: 2 additions & 1 deletion aleph/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from aleph.migration import upgrade_system, destroy_db, cleanup_deleted
from aleph.views import mount_app_blueprints
from aleph.worker import queue_worker
from aleph.queues import get_status, queue_task, cancel_queue
from aleph.queues import get_status, queue_task, cancel_queue, ingest_wait
from aleph.queues import OP_BULKLOAD, OP_PROCESS, OP_XREF
from aleph.index.admin import delete_index
from aleph.logic.collections import create_collection, update_collection
Expand Down Expand Up @@ -71,6 +71,7 @@ def crawldir(path, language=None, foreign_id=None):
collection = Collection.by_foreign_id(foreign_id)
log.info('Crawling %s to %s (%s)...', path, foreign_id, collection.id)
crawl_directory(collection, path)
ingest_wait(collection)


@manager.command
Expand Down

0 comments on commit fd198e8

Please sign in to comment.