Skip to content

Commit

Permalink
make commands start dev server with language settings by fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Nov 2, 2024
1 parent 738692c commit 312cd99
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dev-backend-start-monolingual: ## Start backend dev server
$(MAKE) -C "./backend/" dev-backend-start-monolingual

.PHONY: dev-backend-start-multilingual
dev-backend-start-multilingual: ## Start backend dev server
dev-backend-start-multilingual: ## Start backend dev server with two languages
export INDEX_PASSWORD=paraDiesli,17
export PLONE_PASSWORD=admin
export PLONE_SITE_PREFIX_PATH=Plone
Expand All @@ -65,6 +65,14 @@ install: ## Installs the add-on in a development environment
start: ## Starts Volto, allowing reloading of the add-on during development
pnpm start

.PHONY: start
start-monolingual: ## Same as `make start` but with language 'de'
ADDONS=testing-volto-searchkit-block:monolingualFixture pnpm start

.PHONY: start
start-multilingual: ## Same as `make start` but with language 'de' and multi lingual
ADDONS=testing-volto-searchkit-block:multilingualFixture pnpm start

.PHONY: build
build: ## Build a production bundle for distribution of the project with the add-on
pnpm build
Expand Down

0 comments on commit 312cd99

Please sign in to comment.