How do i write in the console?

pygaps-devTRIAL

5 months ago

I setup a backend Python API on Railway, and it has a bunch of commands that i'd like to run in the console, but i cant write in it, i've tried using Railway's CLI Javascript library but it seems that it doesnt have console access

Solved

0 Replies

pygaps-devTRIAL

5 months ago

b0607d7c-9ec9-4cf5-8b2a-181d2e40acd8


5 months ago

hello, we do not provide a way to ssh into the deployment


5 months ago

the commands you would want to run should be ran through the railway cli with railway run


pygaps-devTRIAL

5 months ago

Okay thanks, one more question though.


pygaps-devTRIAL

5 months ago

Do phones (android) have a railway cli for them too? (My phone doesn't support Termux sadly)


pygaps-devTRIAL

5 months ago

Yea


5 months ago

I think we have a binary built for arm64 but you'd still need a terminal to interact with it


pygaps-devTRIAL

5 months ago

Any terminal suggestions?


5 months ago

termux is the only thing I've ever used


pygaps-devTRIAL

5 months ago

Except termux, since it doesn't work on my phone


pygaps-devTRIAL

5 months ago

😭


5 months ago

how does it not work on your phone? it's not like it needs root?


pygaps-devTRIAL

5 months ago

.

1333145500903538700


pygaps-devTRIAL

5 months ago

this


pygaps-devTRIAL

5 months ago

.


5 months ago

mate we are the only two people in this chat


pygaps-devTRIAL

5 months ago

i know


pygaps-devTRIAL

5 months ago

I figured out a way to fix termux @Brody


pygaps-devTRIAL

5 months ago

It works perfectly now


pygaps-devTRIAL

5 months ago

What do i do now?


5 months ago

pog


5 months ago

you need to use it on a computer for what you want to do


pygaps-devTRIAL

5 months ago

What do you mean?


pygaps-devTRIAL

5 months ago

The arch64 for Android doesn't exist anymore.


pygaps-devTRIAL

5 months ago

/cli $ npm install > @railway/cli@3.20.2 postinstall > node ./npm-install/postinstall.js https://github.com/railwayapp/cli/releases/download/v3.20.2/railway-v3.20.2-aarch64-linux-android.tar.gz Error: Failed fetching the binary: Not Found at install (file:///data/data/com.termux/files/home/cli/npm-install/postinstall.js:30:9) at process.processTicksAndRejections (node:internal/process/taskqueues:105:5) npm error code 1 npm error path /data/data/com.termux/files/home/cli npm error command failed npm error command sh -c node ./npm-install/postinstall.js npm error A complete log of this run can be found in: /data/data/com.termux/files/home/.npm/logs/2025-01-26T194219_236Z-debug-0.log


5 months ago

you need a computer to do what you want to do


pygaps-devTRIAL

5 months ago

Ye, thanks.


pygaps-devTRIAL

5 months ago

I fixed it though


pygaps-devTRIAL

5 months ago

~/cli $ railway --version railwayapp 3.20.2 ~/cli $


pygaps-devTRIAL

5 months ago

How do i close this thread?


pygaps-devTRIAL

5 months ago

!close


5 months ago

!s


Status changed to Solved brody 5 months ago


How do i write in the console? - Railway Help Station