diff --git a/README.md b/README.md index 5e18c1f..9a47226 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## development +## Development http://localhost:8004 requires `src/.env` @@ -10,4 +10,10 @@ cd /src * `celery --app=worker.celery worker --loglevel=info --logfile=logs/celery_dev.log` celery 5 * console 3 - `pipenv shell` + `uvicorn main:app --host 0.0.0.0 --reload` orchestration must be from the console(?) +* turn off VPNs if connection to docker is not working + +## Release +Copy `.env` and `src/.env` to deployment, along with the contents of `secrets/` including `secrets/orchestration.yaml`. + +If pipenv packages are updated: `pipenv lock --requirements -r > requirements.txt` (manually comment line `-i https://pypi.org/simple`) and then `docker compose down` + `docker compose up --build -d` to build images with new packages. \ No newline at end of file diff --git a/src/requirements.txt b/src/requirements.txt index 11b4151..3c7e96d 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -14,11 +14,11 @@ argparse==1.4.0 async-generator==1.10; python_version >= '3.5' attrs==22.2.0; python_version >= '3.6' authlib==0.15.6 -auto-archiver==0.4.2 +auto-archiver==0.4.3 beautifulsoup4==4.11.2; python_version >= '3.6' billiard==3.6.4.0 -boto3==1.26.78; python_version >= '3.7' -botocore==1.29.78; python_version >= '3.7' +boto3==1.26.79; python_version >= '3.7' +botocore==1.29.79; python_version >= '3.7' brotli==1.0.9; platform_python_implementation == 'CPython' bs4==0.0.1 cachetools==5.3.0; python_version ~= '3.7' @@ -27,7 +27,7 @@ certifi==2022.12.7; python_version >= '3.6' cffi==1.15.1 charset-normalizer==3.0.1 click==8.1.3; python_version >= '3.7' -cloudscraper==1.2.68 +cloudscraper==1.2.69 cryptography==38.0.4; python_version >= '3.6' dataclasses-json==0.5.7; python_version >= '3.6' dateparser==1.1.7; python_version >= '3.7' @@ -37,7 +37,7 @@ ffmpeg-python==0.2.0 filelock==3.9.0; python_version >= '3.7' flask==2.2.3; python_version >= '3.7' flower==0.9.7 -future==0.18.3; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2' +future==0.18.3; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3' google-api-core==2.11.0; python_version >= '3.7' google-api-python-client==2.79.0; python_version >= '3.7' google-auth-httplib2==0.1.0 @@ -80,13 +80,13 @@ pycparser==2.21 pycryptodomex==3.17; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' pydantic==1.10.5; python_version >= '3.7' pygments==2.14.0; python_version >= '3.6' -pyparsing==3.0.9; python_version > '3.0' +pyparsing==3.0.9; python_version >= '3.1' pysocks==1.7.1 pytest==6.2.4 -python-dateutil==2.8.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2' +python-dateutil==2.8.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' python-dotenv==1.0.0 -python-slugify==8.0.0; python_version >= '3.7' -python-twitter-v2==0.8.1; python_version >= '3.6' and python_version < '4.0' +python-slugify==8.0.1; python_version >= '3.7' +python-twitter-v2==0.8.1; python_version >= '3.6' and python_version < '4' pytz-deprecation-shim==0.1.0.post0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' pytz==2022.7.1 pyyaml==6.0; python_version >= '3.6' @@ -96,10 +96,10 @@ requests-oauthlib==1.3.1; python_version >= '2.7' and python_version not in '3.0 requests-toolbelt==0.10.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' requests==2.28.2 rich==13.3.1; python_version >= '3.7' -rsa==4.9; python_version >= '3.6' and python_version < '4.0' +rsa==4.9; python_version >= '3.6' and python_version < '4' s3transfer==0.6.0; python_version >= '3.7' selenium==4.8.2; python_version >= '3.7' -six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2' +six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' sniffio==1.3.0; python_version >= '3.7' snscrape==0.5.0.20230113; python_version ~= '3.8' sortedcontainers==2.4.0 @@ -109,8 +109,8 @@ starlette==0.25.0; python_version >= '3.7' telethon==1.27.0; python_version >= '3.5' text-unidecode==1.3 tiktok-downloader==0.3.4 -toml==0.10.2; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2' -tornado==6.2; python_version >= '3.5.2' +toml==0.10.2; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3' +tornado==6.2; python_full_version >= '3.5.2' tqdm==4.64.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' trio-websocket==0.9.2; python_version >= '3.5' trio==0.22.0; python_version >= '3.7'