few bugs in news_fetch left, news_chek wip

This commit is contained in:
2022-09-06 22:15:26 +02:00
parent 2e65828bbb
commit 713406dc67
15 changed files with 537 additions and 267 deletions

10
launch
View File

@@ -5,10 +5,12 @@ set -o ignoreeof
echo "Bash script launching COSS_ARCHIVING..."
# CHANGE ME!
# CHANGE ME ONCE!
export CONTAINER_DATA=~/Bulk/COSS/Downloads/coss_archiving
export UNAME=remy
# CHANGE ME WHEN UPDATING FIREFOX
export GECKODRIVER_IMG=selenium/standalone-firefox:103.0
# version must be >= than the one on the host or firefox will not start (because of mismatched config)
if [[ $1 == "debug" ]]
then
@@ -16,8 +18,8 @@ then
export HEADFULL=true
export CODE=./
export ENTRYPOINT=/bin/bash
# since service ports is not enough here, also execute up, which will
docker compose up -d
# since service ports does not open ports on implicitly started containers, also start geckodriver:
docker compose up -d geckodriver
elif [[ $1 == "production" ]]
then
export DEBUG=false