Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "simstudio",
"version": "0.1.18",
"version": "0.1.19",
"description": "Sim Studio CLI - Run Sim Studio with a single command",
"main": "dist/index.js",
"type": "module",
"bin": {
"simstudio": "dist/index.js"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async function main() {
'ghcr.io/simstudioai/migrations:latest',
'bun',
'run',
'db:push',
'db:migrate',
])

if (!migrationsSuccess) {
Expand Down Expand Up @@ -259,7 +259,7 @@ async function main() {
)
console.log(
chalk.yellow(
`🛑 To stop all containers, run: ${chalk.bold('docker stop simstudio-app simstudio-db')}`
`🛑 To stop all containers, run: ${chalk.bold('docker stop simstudio-app simstudio-db simstudio-realtime')}`
)
)

Expand All @@ -275,6 +275,7 @@ async function main() {
// Stop containers
await stopAndRemoveContainer(APP_CONTAINER)
await stopAndRemoveContainer(DB_CONTAINER)
await stopAndRemoveContainer(REALTIME_CONTAINER)

console.log(chalk.green('✅ Sim Studio has been stopped'))
process.exit(0)
Expand Down