Skip to content

Commit

Permalink
build: Added local target
Browse files Browse the repository at this point in the history
Used for local development without asset compilation
  • Loading branch information
jonrandahl committed Sep 17, 2024
1 parent 7b5ef60 commit eaa373a
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 @@ -68,6 +68,14 @@ image: auth
lint: assets
@./bin/bundle exec rubocop

local:
@echo "Installing bundler packages ..."
@./bin/bundle install
@echo "Installing yarn packages ..."
@yarn install
@echo "Starting local server ..."
@./bin/rails server -p ${PORT}

publish: image
@echo Publishing image: ${REPO}:${TAG} ...
@docker tag ${NAME}:${TAG} ${REPO}:${TAG} 2>&1
Expand Down

0 comments on commit eaa373a

Please sign in to comment.