~craftyguy/ridecasa

ridecasa/Makefile -rw-r--r-- 650 bytes
977bdcc8Clayton Craft README: list some major libraries this app depends on 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
MODULE := ridecasa

secrets:
	@echo "Generating app secrets..."
	@mkdir -p docker-compose/secrets
	@pwgen  -y -n 128 1 > docker-compose/secrets/ridecasa_app.txt

build:
	@cd docker-compose && docker-compose build --no-cache

run:
	@cd docker-compose && docker-compose up -d

lint:
	@echo "Running Flake8 against source and test files..."
	@flake8
	@echo "Running Bandit against source files..."
	@bandit -r --ini setup.cfg

clean:
	@cd docker-compose && docker-compose stop
	@cd docker-compose && docker-compose rm

css:
	@sassc sass/ridecasa.scss ridecasa/static/css/bulma.min.css

test:
	@python3 -m pytest --cov=ridecasa --cov-report=term-missing