0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Converted sh script to a yarn script

This commit is contained in:
Chris Raible 2024-10-10 13:50:28 +01:00
parent 79a6e03752
commit 0ef1227043
2 changed files with 1 additions and 4 deletions

View file

@ -1,3 +0,0 @@
#!/bin/bash
git submodule update --init
docker compose up --attach ghost --no-log-prefix "$@"

View file

@ -34,7 +34,7 @@
"reset:data:empty": "cd ghost/core && node index.js generate-data --clear-database --quantities members:0,posts:0 --seed 123", "reset:data:empty": "cd ghost/core && node index.js generate-data --clear-database --quantities members:0,posts:0 --seed 123",
"reset:data:xxl": "cd ghost/core && node index.js generate-data --clear-database --quantities members:2000000,posts:0,emails:0,members_stripe_customers:0,members_login_events:0,members_status_events:0 --seed 123", "reset:data:xxl": "cd ghost/core && node index.js generate-data --clear-database --quantities members:2000000,posts:0,emails:0,members_stripe_customers:0,members_login_events:0,members_status_events:0 --seed 123",
"docker:reset": "docker-compose -f .github/scripts/docker-compose.yml down -v && docker-compose -f .github/scripts/docker-compose.yml up -d --wait", "docker:reset": "docker-compose -f .github/scripts/docker-compose.yml down -v && docker-compose -f .github/scripts/docker-compose.yml up -d --wait",
"up": ".github/scripts/docker:up.sh", "up": "git submodule update --init && docker compose up --attach ghost --no-log-prefix",
"docker:dev:entry": "node .github/scripts/docker-dev-full.js", "docker:dev:entry": "node .github/scripts/docker-dev-full.js",
"lint": "nx run-many -t lint", "lint": "nx run-many -t lint",
"test": "nx run-many -t test", "test": "nx run-many -t test",