question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shell script to run all the development servers locally

See original GitHub issue

Have to manually run the 3 different servers and mongod at once

  • For development, developer needs to setup and start RocketMeet-server, RocketMeet-mailer and a mongod connection before starting Rocketmeet-client development server with npm run dev

Solution: shell script to start all 4 servers

  • Write a shell script to start all the 4 development servers at once. Possibly from project root.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
BreadGeniecommented, Mar 10, 2021

In my opinion 1st option is better than 2nd since developers would rather clone repositories in the same directory than fill out the path in the script also we can put that in the setup instructions if we go by option 1 @AnandBaburajan @anaswaratrajan what do you guys think?

1reaction
viveknathanicommented, Mar 10, 2021

Thank you. Just one thing. If we intend to place this script in root of RocketMeet-client/, then two of the following things need to happen.

  1. All the repositories are placed under a common directory. So the shell script inside RocketMeet-client/ can just access the other repositories by going a step back and do the job.
  2. The developer using the shell script needs to fill in the relative paths to repositories manually. Do you want me to go forward with assumption 1, that all repos would be placed under a common directory?
Read more comments on GitHub >

github_iconTop Results From Across the Web

how run multiple servers locally using shell script?
I have to run three servers (s1,s2,s3) locally. Currently I am doing it manually by running them on 3 different terminal windows.
Read more >
How to run a single command on multiple Linux machines at ...
If you administer multiple Linux servers, Jack Wallen has an easy script you can use to run commands on all of those servers...
Read more >
How can I run select commands on multiple servers from a ...
2). Write the second script, which You will be run on the local workstation. For example, "run-server-side.sh", which send a script to the ......
Read more >
Introducing Sampo: A Bash API Server For Running Shell ...
Written in bash , it is a shell script API server you can run ... test and re-deploy (see the build.sh script if...
Read more >
Running Commands on a Remote Linux / UNIX Host - nixCraft
Explains how to execute or run a commands on a remote Linux or Unix host server using the ssh command and get output...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found