2 years ago
Im having trouble when I deploy my node project (venom-bot)
47 Replies
2 years ago
what issues are you running into?
When I deploy the project, I need to acess de route /, but I cant
'Application failed to respond'
But its running at the terminal
2 years ago
please read this docs page -
2 years ago
please show me what you have changed in your code after reading that docs page
const port = process.env.PORT || 3000;
app.listen(port, '0.0.0.0', () => {
console.log(Server is running on http://0.0.0.0:${port});
});
2 years ago
looks fine, have you commited the changes to github
2 years ago
yeah, could you share the repo if possible?
2 years ago
looking
2 years ago
i see that your package.json is missing a start script, how are you configuring railway to start this app?
I just pushed this to railway website…
I just saw a video on youtube and did the same, I normaly use Procfile in python projects
2 years ago
this repo is not using a Procfile, how are you configuring railway to start this app?
I didn't configure it, I just put the repository on github, went to railway and deployed
2 years ago
before you do that
2 years ago
please send me your build and deploy logs -
2 years ago
use chrome
2 years ago
ditch opera gx
2 years ago
oh I'm sorry but I had just noticed that this is a WhatsApp bot, WhatsApps bots are not allowed on this platform, I won't be able to provide further assistance and I would recommend you find somewhere else to host this as other users have been banned for running WhatsApp bots
2 years ago
that's not why it's not working, I just can't provide further assistance
2 years ago
thank you for understanding
2 years ago
I would recommend telegram bots instead, you can host those here without issues