forked from eatvio/eatvio-infra
Merge pull request 'artisan and mysql-console commands added to Makefile' (#4) from apoloz/eatvio-infra:main into main
Reviewed-on: http://10.55.5.123:3000/eatvio/eatvio-infra/pulls/4
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,3 +1,5 @@
|
||||
include .env
|
||||
|
||||
clone:
|
||||
git clone ssh://git@10.55.5.123:222/eatvio/eatvio.git app
|
||||
|
||||
@@ -28,6 +30,11 @@ fix-permissions:
|
||||
lint-code-style:
|
||||
docker-compose exec php-fpm composer php-cs-fixer fix
|
||||
|
||||
artisan:
|
||||
docker-compose exec php-fpm ./artisan $(ARGS)
|
||||
mysql-console:
|
||||
docker-compose exec mysql mysql -u${MYSQL_USER} -p${MYSQL_PASSWORD} ${MYSQL_DATABASE}
|
||||
|
||||
init: clone copy-infra-env compose-down compose-up setup-laravel-packages copy-laravel-env setup-laravel-key run-migrations fix-permissions
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user