-
Install Tmux: Ensure tmux is installed on your system.
-
Configure Paths: Modify the script to correctly point to the
apify-coreandapify-dev-stackdirectories. These configuration options are located at the beginning of the script file. -
Initiate Session: From the directory where the script is located, execute the following command:
npm run platform
This command will launch a tmux session. The cursor will automatically be moved from the primary pane (gray) to the secondary (Docker) pane.
-
Start Docker: Within the Docker pane, enter your SSH token password to initiate the Docker services.
-
Continue Setup: Once the development stack has successfully started, navigate back to the primary pane and execute:
npm run continueThis will begin the startup process for the API, frontend, and daemon services, each displayed in its dedicated tmux pane.
-
Terminate Session: To exit the entire tmux session and stop all running services, use the command:
npm run kill
+---------------------------------+
| 0 |
| Main Pane |
+----------------+----------------+
| 1 | 2 |
| Docker | API |
+----------------+----------------+
| 2 | 4 |
| Frontend | Daemons |
+----------------+----------------+