Deploy Application
How can I update the configuration file so that the
src\discord\omnibytes\main.py
file is launched on deployment?
The railway.json file is currently:
Solution:Jump to solution
in the service settings, try setting the root directory to
/src/discord/omnibytes
assuming you have a requirements.txt file in that folder python should automatically be detected so you'll need to remove your railway.json file because it has a blank start command and that will screw deployment up...4 Replies
Project ID:
N/A
N/A
pretty sure it should automatically detect and run the main.py file on startup
or actually, might have to override the start script because I don't think it accounts for the path
Solution
in the service settings, try setting the root directory to
/src/discord/omnibytes
assuming you have a requirements.txt file in that folder python should automatically be detected so you'll need to remove your railway.json file because it has a blank start command and that will screw deployment up