forked from ruby-china/homeland
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (20 loc) · 653 Bytes
/
Makefile
File metadata and controls
21 lines (20 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
RUN = docker-compose run app
RAKE = docker-compose run app bundle exec rake
docker\:base:
docker buildx build -f Dockerfile-base . -t homeland/base:latest
docker\:build:
docker buildx build . -t homeland/homeland:latest
docker\:stop:
docker-compose down
docker\:start:
docker-compose up
docker\:shell:
docker-compose run app bash
docker\:test:
@$(RUN) echo "${RAILS_ENV}"
docker\:install:
@$(RUN) bundle exec rails db:migrate RAILS_ENV=production
@$(RUN) bundle exec rails db:seed RAILS_ENV=production
@$(RUN) bundle exec rails assets:precompile RAILS_ENV=production
memory:
TEST_COUNT=10 PATH_TO_HIT=/ bundle exec derailed exec perf:objects