Have you tried Railway?
I think it might be free & it’s featured in their official guide: Setting up Tovy | Tovy Documentation (tovyblox.xyz)
Have you tried Railway?
I think it might be free & it’s featured in their official guide: Setting up Tovy | Tovy Documentation (tovyblox.xyz)
Yea I have tryed it… can’t use it because my GitHub is not 180 days old, it’s about 60. I don’t want to pay for anything as well.
Have you set everything up follow the Tovy documentation?
Wait I got new app logs,
2022-06-01T19:59:19.183623+00:00 app[web.1]: at promiseOrCallback (/app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:10:12)
2022-06-01T19:59:19.183623+00:00 app[web.1]: at Mongoose._promiseOrCallback (/app/node_modules/mongoose/lib/index.js:1167:10)
2022-06-01T19:59:19.183624+00:00 app[web.1]: at Mongoose.connect (/app/node_modules/mongoose/lib/index.js:340:20)
2022-06-01T19:59:19.183624+00:00 app[web.1]: at Object. (/app/backend/db/db.js:2:10)
2022-06-01T19:59:19.183624+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
2022-06-01T19:59:19.183625+00:00 app[web.1]: at Object.Module._extensions…js (node:internal/modules/cjs/loader:1159:10)
2022-06-01T19:59:19.183625+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:981:32)
2022-06-01T19:59:19.183625+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2022-06-01T19:59:19.329491+00:00 heroku[web.1]: Process exited with status 1
2022-06-01T19:59:19.486121+00:00 heroku[web.1]: State changed from starting to crashed
This is my main concern at the moment.
Well the document does not support heroku as the owner said and I don’t know what to set up, I just followed the railway thing but with heroku I guess, I imported the GitHub to heroku and that’s all I did.
But jake from railway (he owns it) told me to use heroku instead of railway because I did not meet the requirements for deploying GitHub.
From the owner of tovy they told me they could help me if I joined the discord, but as my parents won’t let me get it I can’t get any help from them. So I came here.
Alright, try changing the run command to be
pm2 start start.js
How?
20 charsssssssss
Edit your procfile in your github repo.
I don’t think there is one,
Private repo, dynos usually run via a Procfile.
I dont see procfile…
@Noah I made it public
Then make sure the dyno is enabled and then run it!
so this is right for the dyno: web pm2 start start.js
ok let me test it
20
error again… should I make github private or public btw?