Skip to content

Commit

Permalink
seed dummy data option in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed Mar 28, 2024
1 parent 2d81e23 commit c513060
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,14 @@ dev-seed: ## seed the local database with send_needs etc
dev-seed-admin: ## seed local database with send_needs etc and an admin user
docker compose exec outpost bin/rails SEED_ADMIN_USER=true db:seed

dev-seed-data: ## seed local database with send_needs etc and dummy data
dev-seed-data: ## seed local database with dummy data
docker compose exec outpost bin/rails SEED_DUMMY_DATA=true db:seed

dev-seed-default-data: ## seed local database with send_needs etc
docker compose exec outpost bin/rails SEED_DEFAULT_DATA=true db:seed

dev-seed-all: ## seed local database with admin user, dummy data and send_needs etc
docker compose exec outpost bin/rails SEED_ADMIN_USER=true SEED_DUMMY_DATA=true db:seed
docker compose exec outpost bin/rails SEED_ADMIN_USER=true SEED_DUMMY_DATA=true SEED_DEFAULT_DATA=true db:seed

dev-ssh: ## access outpost from cli
docker compose exec outpost bash
Expand Down

0 comments on commit c513060

Please sign in to comment.