Skip to content

Commit

Permalink
Merge pull request #75 from geoadmin/feat-PB-91-create-png
Browse files Browse the repository at this point in the history
PB-91: Added script to Makefile to convert svg images to pngs
  • Loading branch information
rebert authored Jan 12, 2024
2 parents 2f1aa6f + 386ccd8 commit d17d49b
Show file tree
Hide file tree
Showing 6 changed files with 587 additions and 321 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ GIT_DIRTY = `git status --porcelain`
GIT_TAG = `git describe --tags || echo "no version info"`
AUTHOR = $(USER)


# general targets
LOGS_DIR = $(PWD)/logs


# Docker variables
DOCKER_REGISTRY = 974517877189.dkr.ecr.eu-central-1.amazonaws.com
DOCKER_IMG_LOCAL_TAG := $(DOCKER_REGISTRY)/$(SERVICE_NAME):local-$(USER)-$(GIT_HASH_SHORT)
Expand Down Expand Up @@ -128,7 +126,6 @@ format-lint: format lint
test:
ENV_FILE=.env.test $(NOSE) -c tests/unittest.cfg --verbose -s tests/

# Serve targets. Using these will run the application on your local machine. You can either serve with a wsgi front (like it would be within the container), or without.

.PHONY: serve
serve: clean_logs $(LOGS_DIR)
Expand Down
4 changes: 3 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ Flask = "~=2.0.1"
Pillow = "~=9.0.1"
python-dotenv = "~=0.17.0"
logging-utilities = "~=3.0"
werkzeug = "~=2.2"

[dev-packages]
yapf = "*"
nose2 = "*"
pylint = "*"
pylint-flask = "*"
cairosvg = "*"

[requires]
python_version = "3.9"
python_version = "3.9"
Loading

0 comments on commit d17d49b

Please sign in to comment.