mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added docker:up script
This commit is contained in:
parent
19cdaf28c7
commit
8e2638401c
2 changed files with 4 additions and 0 deletions
3
.github/scripts/docker:up.sh
vendored
Executable file
3
.github/scripts/docker:up.sh
vendored
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
git submodule update --init
|
||||
docker compose up --attach ghost --no-log-prefix
|
|
@ -34,6 +34,7 @@
|
|||
"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",
|
||||
"docker:reset": "docker-compose -f .github/scripts/docker-compose.yml down -v && docker-compose -f .github/scripts/docker-compose.yml up -d --wait",
|
||||
"docker:up": ".github/scripts/docker:up.sh",
|
||||
"docker:dev:entry": "node .github/scripts/docker-dev-full.js",
|
||||
"lint": "nx run-many -t lint",
|
||||
"test": "nx run-many -t test",
|
||||
|
|
Loading…
Add table
Reference in a new issue