-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (18 loc) · 763 Bytes
/
Makefile
File metadata and controls
26 lines (18 loc) · 763 Bytes
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
26
start: ## Start the project
docker compose --profile dev up
stop: ## Stop the project
docker compose --profile dev down
startNative: ## Start the react native project
docker compose --profile native up
stopNative: ## Stop the react native project
docker compose --profile native down
build: ## Build the project
docker compose build backend
specs: ## Run the specs
docker compose --profile dev run --rm backend rspec spec spec
console: ## Open a rails console
docker compose --profile dev run --rm backend rails c
seed: ## Seed your database
docker compose --profile dev run --rm backend bundle exec rails app:setup
help:
@sed -n -E "s/(^[^ ]+):.* ## (.*)/`printf "\033[32m"`\1|`printf "\033[0m"` \2/p" $(MAKEFILE_LIST) | sort | column -t -s '|'