Skip to content

Commit

Permalink
Create ElasticSearch index before seeding the database
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Jan 29, 2024
1 parent c4c4ba3 commit 5e42ff8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
install: file-permission composer-install migration seed install-assets assets-production install-es install-passport install-push
install-dev: file-permission composer-install migration seed install-assets assets-dev install-es install-passport install-push
install: file-permission composer-install migration es-create seed es-index install-assets assets-production install-passport install-push
install-dev: file-permission composer-install migration es-create seed es-index install-assets assets-dev install-passport install-push
update: update-repo composer-install migration assets-production cache-config
update-dev: update-repo composer-install migration assets-dev

Expand Down Expand Up @@ -45,8 +45,10 @@ cache-config:
docker-compose exec -T -u nginx php php artisan config:cache
docker-compose exec -T -u nginx php php artisan route:cache

install-es:
es-create:
docker-compose exec -T -u nginx php php artisan es:create --force

es-index:
docker-compose exec -T -u nginx php php artisan es:index --force

install-passport:
Expand Down

0 comments on commit 5e42ff8

Please sign in to comment.