Download issues CLI
Anonymous
TRIALOP

2 years ago

I cant download CLI on my pc for some reason, could someone help?

160 Replies

Anonymous
TRIALOP

2 years ago

N/A


Anonymous
TRIALOP

2 years ago

1216599711230988300


Anonymous
TRIALOP

2 years ago

the command I ran was curl fsSL https://railway.app/install.sh | sh


maddsua
HOBBY

2 years ago

you should probably run it with sudo


Anonymous
TRIALOP

2 years ago

so what should the cmd be


maddsua
HOBBY

2 years ago

there was an issue with a build being broken for some platforms, but it doesn't seem to be the case


maddsua
HOBBY

2 years ago

just sudo curl fsSL https://railway.app/install.sh | sh


Anonymous
TRIALOP

2 years ago

1216601707966894000


maddsua
HOBBY

2 years ago

oh


maddsua
HOBBY

2 years ago

it should be -fsSL


Anonymous
TRIALOP

2 years ago

kk


maddsua
HOBBY

2 years ago

I just copypasted your command


maddsua
HOBBY

2 years ago

didn't notice that lol


Anonymous
TRIALOP

2 years ago

1216602094627192800


Anonymous
TRIALOP

2 years ago

same issue


maddsua
HOBBY

2 years ago

interesting


maddsua
HOBBY

2 years ago

well, you can always download the binary and move it to /usr/local/bin


Anonymous
TRIALOP

2 years ago

where can I find that



Anonymous
TRIALOP

2 years ago

should I restart the terminal


maddsua
HOBBY

2 years ago

<:thonk:969365165688635464> probably, don't remember if it's required on linux


Anonymous
TRIALOP

2 years ago

okay


Anonymous
TRIALOP

2 years ago

didn't work


maddsua
HOBBY

2 years ago

just to clarify, you have an executable at this location: /usr/local/bin/railway?


Anonymous
TRIALOP

2 years ago

yes


maddsua
HOBBY

2 years ago

oh, wait, linux is kinda stupid when it comes to shared libraries. what's your distro and CPU? it could be that you've downloaded the wrong binary


Anonymous
TRIALOP

2 years ago

i use ubuntu and idk what cup



Anonymous
TRIALOP

2 years ago

1216618229758431200


Anonymous
TRIALOP

2 years ago

LOOL


Anonymous
TRIALOP

2 years ago

one sec


maddsua
HOBBY

2 years ago

after you download it, try running in-place, just to see that it runs


Anonymous
TRIALOP

2 years ago

wdym running it


maddsua
HOBBY

2 years ago

like, after extracting that tar.gz just run ./railway --version in the same directory


maddsua
HOBBY

2 years ago

like half an hour ago I installed railway like that in cicd
https://discord.com/channels/713503345364697088/727689277219012669/1216607735798562816


Anonymous
TRIALOP

2 years ago

it just says that it is a directory


maddsua
HOBBY

2 years ago

wget https://github.com/railwayapp/cli/releases/download/v3.5.2/railway-v3.5.2-x86_64-unknown-linux-gnu.tar.gz -O railway.tar.gz
tar -xzvf railway.tar.gz
mv ./railway /usr/local/bin

maddsua
HOBBY

2 years ago

basically, these 3 commands should do the trick


maddsua
HOBBY

2 years ago

ah, mv might require sudo


Anonymous
TRIALOP

2 years ago

it says


Anonymous
TRIALOP

2 years ago

1216619344537321500


maddsua
HOBBY

2 years ago

well, you'd need to removed the old download files


maddsua
HOBBY

2 years ago

try downloading it into an empty directory if for some reason removing existing files is not an option


maddsua
HOBBY

2 years ago

idk why it wouldn't be tho 😀


Anonymous
TRIALOP

2 years ago

1216619776370278400


Anonymous
TRIALOP

2 years ago

1216619814119014400


maddsua
HOBBY

2 years ago

the way you clip the output doesn't really help me understand what's going in


Anonymous
TRIALOP

2 years ago

i clipped the cmd


maddsua
HOBBY

2 years ago

indeed you did


Anonymous
TRIALOP

2 years ago

1216620209113399300


maddsua
HOBBY

2 years ago

it's ./railway


Anonymous
TRIALOP

2 years ago

oh


Anonymous
TRIALOP

2 years ago

tar -xzvf ./railway.tar.gz


Anonymous
TRIALOP

2 years ago

that?


maddsua
HOBBY

2 years ago

nono, to run a file from directory you prefix it with ./


Anonymous
TRIALOP

2 years ago

./railway tar -xzvf railway.tar.gz


Anonymous
TRIALOP

2 years ago

that?


Anonymous
TRIALOP

2 years ago

STOPP IDK HOW TO DO THIS


maddsua
HOBBY

2 years ago

1: tar -xzvf railway.tar.gz
2: ./railway


maddsua
HOBBY

2 years ago

if it runs, then you can copy it to /usr/local/bin so that it could be run from anywhere


maddsua
HOBBY

2 years ago

and the command for it is mv ./railway /usr/local/bin


Anonymous
TRIALOP

2 years ago

IT WORKED



maddsua
HOBBY

2 years ago

noice


Anonymous
TRIALOP

2 years ago

okay now wait how do i get onto it because im trying to install dependencies but theres no way to do it on the site


Anonymous
TRIALOP

2 years ago

@maddsua 😊


maddsua
HOBBY

2 years ago

whaaaa


maddsua
HOBBY

2 years ago

what deps?


Anonymous
TRIALOP

2 years ago

let me get them



Anonymous
TRIALOP

2 years ago

well this is what i want to get


Anonymous
TRIALOP

2 years ago

but like i don't know how i would run the commands on railway


maddsua
HOBBY

2 years ago

dockerfile


Anonymous
TRIALOP

2 years ago

huh


maddsua
HOBBY

2 years ago

<:kekw:788259314607325204>


Anonymous
TRIALOP

2 years ago

should I use the docker way?


Anonymous
TRIALOP

2 years ago

@Brody chatstaker <:instantregret:1183995962423779450>


maddsua
HOBBY

2 years ago

if it runs on linux, it can be deployed to railway using docker, and if there's no provided image you can create one using Dockerfile


maddsua
HOBBY

2 years ago

wait are 2 of you testing me lol? 🤣


Anonymous
TRIALOP

2 years ago

i want u to know i know nothing ab coding besides lua


Anonymous
TRIALOP

2 years ago

no im gen dumb


maddsua
HOBBY

2 years ago

oh then it will be quite a ride for sure lol


maddsua
HOBBY

2 years ago

docker isn't super hard actually


maddsua
HOBBY

2 years ago

says the person who almost doesn't use it <:kekw:788259314607325204>


Anonymous
TRIALOP

2 years ago

okay so how do i create a dockerfile


maddsua
HOBBY

2 years ago

well I can write a simple one 4 u


maddsua
HOBBY

2 years ago

only question is


maddsua
HOBBY

2 years ago

how is that thing should be ran?


Anonymous
TRIALOP

2 years ago

wdym


Anonymous
TRIALOP

2 years ago

is this not how

1216624134046613500


maddsua
HOBBY

2 years ago

k brody you're giving me a conductor afterwards for sure


maddsua
HOBBY

2 years ago

because I'm reading their docs now


maddsua
HOBBY

2 years ago

<:kekw:788259314607325204>


Anonymous
TRIALOP

2 years ago


Anonymous
TRIALOP

2 years ago

madusa for conductor


maddsua
HOBBY

2 years ago

2024


maddsua
HOBBY

2 years ago

lessgo


maddsua
HOBBY

2 years ago

dockerfile isn't the hard part, running the app is <:kekw:788259314607325204>


Anonymous
TRIALOP

2 years ago

😃


maddsua
HOBBY

2 years ago

yo do something

1216627168306532400


maddsua
HOBBY

2 years ago

it kinda hang 😀


Anonymous
TRIALOP

2 years ago

<:lfg:786867302888505364>


maddsua
HOBBY

2 years ago

classic

1216627315686244400


maddsua
HOBBY

2 years ago

need to install the deps


maddsua
HOBBY

2 years ago

they actually have a docker image lol


maddsua
HOBBY

2 years ago

it's appflowyio/appflowy_client


Anonymous
TRIALOP

2 years ago

oh!


Anonymous
TRIALOP

2 years ago

so do i just use the docker than thats all? or do i also put in the github thing there too


maddsua
HOBBY

2 years ago

there's this option in railway's dashboard

1216630963560255500


Anonymous
TRIALOP

2 years ago

yep ive done that


Anonymous
TRIALOP

2 years ago

1216631020376428800


maddsua
HOBBY

2 years ago

well that's a weird app ngl


Anonymous
TRIALOP

2 years ago

<:salute:1137099685417451530>

1216631242468884500


Anonymous
TRIALOP

2 years ago

did i need to put the depo there or


maddsua
HOBBY

2 years ago

hmm nope, it just doesn't work for some reason


maddsua
HOBBY

2 years ago

1216631472480452600


Anonymous
TRIALOP

2 years ago

thats what I got


maddsua
HOBBY

2 years ago

WHY DOES IT NEED A DISPLAY


Anonymous
TRIALOP

2 years ago

EIWHAUIOEHWA


Anonymous
TRIALOP

2 years ago

<:lfg:786867302888505364>


maddsua
HOBBY

2 years ago

hdmi 2 disconnected or something 💀


Anonymous
TRIALOP

2 years ago

is there anyway around it or


maddsua
HOBBY

2 years ago

not that I'm familiar with this app


maddsua
HOBBY

2 years ago

sooo


maddsua
HOBBY

2 years ago

idk


Anonymous
TRIALOP

2 years ago

@Brody u seem smart


Anonymous
TRIALOP

2 years ago

know anything ab this?


2 years ago

yeah but it's funny watching mad try


2 years ago

he tends to dive into things without reading the docs


Anonymous
TRIALOP

2 years ago

HELP ME PLEASE MAD TRIED THEIR HARDEST AND UR WATCHING US STRUGGLE 💔


maddsua
HOBBY

2 years ago

docs are for losers


2 years ago

I don't think you're in a position to say such things


maddsua
HOBBY

2 years ago

if your product needs 10 A4 pages of docs just to get it running - it's a bad design


2 years ago

classic blame the docs


Anonymous
TRIALOP

2 years ago

soo is there a fix 🫣


maddsua
HOBBY

2 years ago

classic "that's why I'm not using X and is happy about my services just working"


maddsua
HOBBY

2 years ago

yeah


maddsua
HOBBY

2 years ago

you're right


maddsua
HOBBY

2 years ago

so, from now, it's on Brody


2 years ago

well I'll save you both the trouble, you're trying to run a desktop client on railway, not a web app


maddsua
HOBBY

2 years ago

ok, fair


maddsua
HOBBY

2 years ago

so u did read the docs lol


2 years ago

of course


2 years ago

long ago


Anonymous
TRIALOP

2 years ago

been with us every step of the way


maddsua
HOBBY

2 years ago

I'll have a shot of voka than


maddsua
HOBBY

2 years ago

goodby


Anonymous
TRIALOP

2 years ago

SO does it not work..


Anonymous
TRIALOP

2 years ago

@Brody 😁


2 years ago

it can't work


Anonymous
TRIALOP

2 years ago

yikes okay


2 years ago

and even if we did run the web app, I don't see a point because you aren't actually running the backend to appflowy anyway, you would still be dependent on their cloud offering or supabase


Anonymous
TRIALOP

2 years ago

yeah thats fine but would it still work?


2 years ago

they don't provide a docker image to run their web client


Anonymous
TRIALOP

2 years ago

so wait then what am I running ??


2 years ago

nothing, this isn't feasible


Anonymous
TRIALOP

2 years ago

no but like if it was to work what would be running


2 years ago

just the web client, and in my opinion running their web client is pointless when they offer platform native apps


Anonymous
TRIALOP

2 years ago

okay ty


2 years ago

sorry this didn't turn out to what you thought it was


Loading...