forked from GNUsocial/gnu-social
[TOOL] Add force-nuke-everything make rule, which deletes the whole database and caches
This commit is contained in:
parent
333e71ed50
commit
1e7a285ded
8
Makefile
8
Makefile
@ -53,3 +53,11 @@ phpstan: tooling-docker
|
||||
|
||||
stop-tooling: .PHONY
|
||||
cd docker/tooling && docker-compose down
|
||||
|
||||
remove-var:
|
||||
rm -rf var/*
|
||||
|
||||
flush-redis-cache:
|
||||
docker exec -it $(call translate-container-name,$(strip $(DIR))_redis_1) sh -c 'redis-cli flushall'
|
||||
|
||||
force-nuke-everything: remove-var flush-redis-cache database-force-nuke
|
||||
|
Loading…
Reference in New Issue
Block a user