Commit 8a306d14 authored by Rigel Kent's avatar Rigel Kent

🐛 (docker) shifting options in start.sh

parent 30e13b80
Pipeline #191682 passed with stages
in 16 minutes and 1 second
......@@ -67,13 +67,12 @@ def save(self, commit=True):
name=value.get('name'),
description=value.get('description', '')
)
# corpus.tags.add(tag)
corpus.tags.add(tag)
corpus_tags.append(tag)
except Exception:
pass
corpus.tags.set(corpus_tags)
# delete/cleanup
# [corpus.tags.remove(a) for a in corpus.tags.all() if a.code not in [i.code for i in corpus_tags]] # tags not in the form
[corpus.tags.remove(a) for a in corpus.tags.all() if a.code not in [i.code for i in corpus_tags]] # tags not in the form
CorpusTag.objects.filter(corpora_tagged__isnull=True).delete() # tags that have no link to any corpus anymore
return corpus
......@@ -437,6 +437,6 @@ export default {
border-color: rgba(var(--color-primary), 0.6) !important;
}
.divider-vert::after {
background: none;
background: rgba(var(--color-background), 1);
}
</style>
#!/bin/bash -eux
poetry run python olki_back/manage.py migrate
poetry run python olki_back/manage.py collectstatic --noinput
poetry run python olki_back/manage.py collecttemplates
pushd olki_back
poetry run python manage.py migrate
poetry run python manage.py -- collectstatic --noinput
poetry run python manage.py collecttemplates
popd
poetry run honcho start
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment