Merge branch 'main' of ssh://bitbucket.darc.de:7999/frag/50ohm.de into feature/include
This commit is contained in:
@@ -4,8 +4,9 @@ import src.config as config
|
||||
import src.download as download
|
||||
|
||||
conf = config.Config()
|
||||
api = directus.DirectusAPI(conf)
|
||||
dl = download.Download(api, conf)
|
||||
api = directus.DirectusAPI(conf.question_base_url, conf.question_access_token)
|
||||
content_api = directus.DirectusAPI(conf.content_base_url, conf.content_access_token)
|
||||
dl = download.Download(api, content_api, conf)
|
||||
bd = build.Build()
|
||||
|
||||
# Download the text files:
|
||||
@@ -16,9 +17,10 @@ dl.download_question_metadata()
|
||||
dl.download_pictures()
|
||||
dl.download_photos()
|
||||
dl.download_includes()
|
||||
dl.download_snippets()
|
||||
dl.download_content()
|
||||
|
||||
# Build edition:
|
||||
# Build Everything:
|
||||
bd.build_website()
|
||||
bd.build_edition("N")
|
||||
|
||||
# Build assets:
|
||||
bd.build_assets()
|
||||
|
||||
Reference in New Issue
Block a user