refactor: rename project to gallery

This commit is contained in:
2024-08-11 20:46:04 +03:00
parent 3785b8ce5d
commit 72fd378c40
48 changed files with 117 additions and 92 deletions

View File

@@ -2,4 +2,4 @@
set -e
cd "$(dirname $(dirname "$0"))" || exit
docker build -t shmyga/weather .
docker build -t shmyga/gallery .

5
scripts/lint Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
cd "$(dirname $(dirname "$0"))" || exit
poetry run pylint gallery

View File

@@ -2,7 +2,7 @@
set -e
cd "$(dirname $(dirname "$0"))" || exit
IMAGE_NAME=shmyga/weather
IMAGE_NAME=shmyga/gallery
docker tag $IMAGE_NAME instreamatic.com:8083/$IMAGE_NAME
docker push instreamatic.com:8083/$IMAGE_NAME

View File

@@ -2,4 +2,4 @@
set -e
cd "$(dirname $(dirname "$0"))" || exit
docker run --rm -p 8000:80 shmyga/weather
docker run --rm -p 8000:80 shmyga/gallery

5
scripts/test Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
cd "$(dirname $(dirname "$0"))" || exit
poetry run pytest tests