gunicorn error (app was working fine before)
/bin/bash: line 1: gunicorn: command not found
30 Replies
Project ID:
N/A
N/A
my app was working before
then suddenly i am getting that error
send your repo again please
gunicorn is in my requirements
and this is my procfile
web: gunicorn --timeout 600 main:server
GitHub
GitHub - Vasallius/momo-flask
Contribute to Vasallius/momo-flask development by creating an account on GitHub.
you have a package.json in there now, railway runs a language check for node before it runs the check for python so it detects node and stops thus never installing any of the modules in the requirements.txt file
ah shit do i just delete
both package and apckage-lock
do you need them?
dont think so i think it intalled when i was trying to install tailwind
ill remove them now and see
yeah I don't see any JavaScript files
ty error got removed
awesome
one quick question
do fonts really load slowly or smth
website looks gucci already just took about 15 seconds to load the proper fonts
they shouldn't?
i have the fonts stored on local folder btw
is that bad practice
bad practice for a high traffic website, sure. bad practice for you, no it's totally fine
ok ok ty
finally it worked
so brother the reason why it wasnt working last time was just because US is geoblocked from the api
HAHAHA
thanks for all the help
so how'd you get around that?
use diff api
hahah dats all
whos api are you using now
some unofficial api
hmmmm
how to close an issue btw
like close this help question
I just mark them as solved
I'm not gonna go ratting you out, but just so you know using unofficial APIs through railway can be grounds for a ban
ohhh it's unofficial but
widely used
oh no
im using the ccxt library
i mean technically the library uses the official api
just different methods?
GitHub
GitHub - ccxt/ccxt: A JavaScript / Python / PHP cryptocurrency trad...
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges - GitHub - ccxt/ccxt: A JavaScript / Python / PHP cryptocurrency trading API with sup...
meh you're prob fine, carry on