Skip to content

Commit

Permalink
Merge branch 'main' into ND-159-dns-dhcp-product-update-makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen.James committed Mar 11, 2024
2 parents 711a362 + 4625b16 commit 7524e32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ start-db: ## start database

.PHONY: db-setup
db-setup: ## setup database
start-db
start-db
$(DOCKER_COMPOSE) run --rm app ./bin/rails db:drop db:create db:schema:load

.PHONY: serve
serve: ## stop start database
stop
serve: ## Start application
stop
start-db
$(DOCKER_COMPOSE) up app

Expand All @@ -63,15 +63,15 @@ stop: ## docker compose down
$(DOCKER_COMPOSE) down

.PHONY: migrate
migrate: ## run migrate script
migrate: ## run migrate script
./scripts/migrate.sh

.PHONY: seed
seed: ## run seed script
./scripts/seed.sh

.PHONY: migrate-dev
migrate-dev: ## run rails migrate dev
migrate-dev: ## run rails migrate dev
$(DOCKER_COMPOSE) run --rm app bundle exec rake db:migrate

.PHONY: bootstrap
Expand All @@ -90,7 +90,7 @@ push: ## push image to ECR

.PHONY: publish
publish: ## run build and push targets
build
build
push

.PHONY: lint
Expand Down

0 comments on commit 7524e32

Please sign in to comment.