Skip to content

midrissi/wakanda-parallel

Repository files navigation

How to start

  1. Create a new file in the root of this project named config.json
  2. Copy the content of the file config.example.json into the previously created file
  3. Fill the variables:
  • DEBUGGER: Turn on the remote debugger
  • WAKANDA_BIN: Full path of wakanda server binary
  • LICENSE_PATH: Full path of the license file
  • SOLUTIONS: List of solutions to run. Each solution have a process name and a solution attribute that contains the full path of the .waSolution file.
  1. Install dependencies
npm i
  1. Start processes
npm start

NB: Verify that all projects have different port to run them properly.

Usefull scripts

  • npm start: Start all solutions
  • npm run restart -- [name]: restart a specific solution (name is the name that you have specified in config.json file)
  • npm run restart:all: restart all solutions
  • npm run stop -- [name]: stop a specific solution (name is the name that you have specified in config.json file)
  • npm run stop:all: stop all solutions
  • npm run list: List the status of all solutions
  • npm run logs: Display standard output
  • npm run show -- [name]: Show details of a specific solution (name is the name that you have specified in config.json file)

About

Start multiple wakanda servers in parallel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published