All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 57s
- Use height: 276mm (fixed) instead of min-height so sidebar fills page - Add height: 100% + box-sizing: border-box on sidebar - Add justify-content: space-between on .main to distribute sections - Slightly larger fonts (10-12.5px) and spacing for readability
24 lines
488 B
Makefile
24 lines
488 B
Makefile
.PHONY: run install docker-build docker-run stop
|
|
|
|
VENV=.venv
|
|
PYTHON=$(VENV)/bin/python3
|
|
PIP=$(VENV)/bin/pip3
|
|
|
|
$(VENV)/bin/activate:
|
|
python3 -m venv $(VENV)
|
|
|
|
install: $(VENV)/bin/activate
|
|
$(PIP) install -r requirements.txt --quiet
|
|
|
|
run: install
|
|
FLASK_ENV=development PORT=9234 $(PYTHON) app.py
|
|
|
|
docker-build:
|
|
docker build -t web-erika .
|
|
|
|
docker-run: docker-build
|
|
docker run --rm -p 9234:9234 -e PORT=9234 web-erika
|
|
|
|
stop:
|
|
@docker ps -q --filter name=web-erika | xargs -r docker stop
|