Skip to content

Commit

Permalink
Merge pull request #225 from NUTFes/feature/nose/change-makefile
Browse files Browse the repository at this point in the history
Feature/nose/change makefile
  • Loading branch information
nose221834 authored Nov 11, 2023
2 parents ef462a3 + 0341c47 commit 9900b74
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ db:
docker compose run --rm seeds_api rails db:create
docker compose run --rm seeds_api rails db:migrate
docker compose run --rm seeds_api rails db:seed_fu

build-prod:
docker-compose -f docker-compose.prod.yml build
docker-compose -f docker-compose.prod.yml run --rm seeds_view npm install
docker-compose -f docker-compose.prod.yml run --rm seeds_api rails db:create
docker-compose -f docker-compose.prod.yml run --rm seeds_api rails db:migrate
docker-compose -f docker-compose.prod.yml run --rm seeds_api rails db:seed_fu

0 comments on commit 9900b74

Please sign in to comment.