2
0

Version 1

This commit is contained in:
MangoPig
2026-06-23 18:50:37 +01:00
commit 55d9772272
133 changed files with 21515 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
project_root := justfile_directory()
store_dir := project_root + "/Store"
local_compose := project_root + "/Docker/docker-compose.local.dev.yaml"
node_modules_volume := "royal_pop_store_node_modules"
# Recreate the storefront node_modules Docker volume.
node_modules:
docker compose -f '{{local_compose}}' rm -sf store >/dev/null 2>&1 || true
docker volume rm -f '{{node_modules_volume}}' >/dev/null 2>&1 || true
docker compose -f '{{local_compose}}' up -d --remove-orphans --force-recreate store
# Build the storefront.
build:
cd '{{store_dir}}' && npm run build
# Print the local client dashboard URL.
client-url:
printf '%s\n' 'Client dashboard: http://localhost:4321/client/'
# Print the local client orders URL.
client-orders-url:
printf '%s\n' 'Client orders: http://localhost:4321/client/orders/'
# Print the local client stock URL.
client-stock-url:
printf '%s\n' 'Client stock: http://localhost:4321/client/stock/'