forked from antistatique/acapella-text2lpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (25 loc) · 837 Bytes
/
Makefile
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
setup:
cp docker-compose.override.yml.example docker-compose.override.yml && \
docker-compose build --no-cache && \
docker-compose up -d && \
cp .env.example .env && \
docker-compose exec acapella-web php artisan key:generate && \
docker-compose exec acapella-web php artisan migrate && \
docker-compose exec acapella-web php artisan db:seed && \
docker-compose exec acapella-web php artisan storage:link && \
docker-compose exec acapella-web npm run dev && \
git config core.hooksPath .githooks
build:
docker-compose build
up:
docker-compose up -d
migrations:
docker-compose exec acapella-web php artisan migrate
stop:
docker-compose stop
restart:
docker-compose stop && docker-compose up -d
test:
docker-compose exec acapella-web vendor/bin/phpunit --debug
db-seed:
docker-compose exec acapella-web php artisan db:seed