且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在同一个数据库中启动多个应用程序?

更新时间:2022-05-11 06:39:36

如果您正在寻找启动脚本,您可以执行以下操作:

If you are looking for a start script you could do the following:

在您的应用程序的根目录中,创建一个名为 start.sh 的文件:

In the root of your app, create a file called start.sh:

#!/usr/bin/env bash
MONGO_URL=mobgodb://127.0.0.1:3001/meteor meteor --port 3000

然后运行chmod +x start.sh

然后您只需输入 ./start.sh