I have to meteor application in local (admin and client). Applications run on different port 3000 and 3003. I want to use both app should use the same
3000
3003
If you are looking for a start script you could do the following:
In the root of your app, create a file called start.sh:
start.sh
#!/usr/bin/env bash MONGO_URL=mobgodb://127.0.0.1:3001/meteor meteor --port 3000
Then run chmod +x start.sh
chmod +x start.sh
You can then start your app just by typing ./start.sh
./start.sh