How do I modify the startup command?
Choose the entry file without bypassing the command managed by the egg.
The Startup page shows the variables allowed by the egg. Prefer a stable start script to a long command that is hard to maintain.
Step-by-step procedure
-
Identify the main file
Locate src/index.js, app.js, bot.py or the entry point declared by your project.
-
Define a script
In Node.js, add a start script in package.json. In Python, keep a simple command to the main module.
-
Edit variable
In Startup, change the allowed file or command and save.
-
Check the console
A “file not found” error means that the path or case does not match the file present.