R
Railwayโ€ข9mo ago
flairsed

Download issues CLI

I cant download CLI on my pc for some reason, could someone help?
Solution:
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
Jump to solution
114 Replies
Percy
Percyโ€ข9mo ago
Project ID: N/A
flairsed
flairsedOPโ€ข9mo ago
N/A
flairsed
flairsedOPโ€ข9mo ago
No description
flairsed
flairsedOPโ€ข9mo ago
the command I ran was curl fsSL https://railway.app/install.sh | sh
maddsua
maddsuaโ€ข9mo ago
you should probably run it with sudo
flairsed
flairsedOPโ€ข9mo ago
so what should the cmd be
maddsua
maddsuaโ€ข9mo ago
there was an issue with a build being broken for some platforms, but it doesn't seem to be the case just sudo curl fsSL https://railway.app/install.sh | sh
flairsed
flairsedOPโ€ข9mo ago
No description
maddsua
maddsuaโ€ข9mo ago
oh it should be -fsSL
flairsed
flairsedOPโ€ข9mo ago
kk
maddsua
maddsuaโ€ข9mo ago
I just copypasted your command didn't notice that lol
flairsed
flairsedOPโ€ข9mo ago
No description
flairsed
flairsedOPโ€ข9mo ago
same issue
maddsua
maddsuaโ€ข9mo ago
interesting well, you can always download the binary and move it to /usr/local/bin
flairsed
flairsedOPโ€ข9mo ago
where can I find that
flairsed
flairsedOPโ€ข9mo ago
should I restart the terminal
maddsua
maddsuaโ€ข9mo ago
:thonk: probably, don't remember if it's required on linux
flairsed
flairsedOPโ€ข9mo ago
okay didn't work
maddsua
maddsuaโ€ข9mo ago
just to clarify, you have an executable at this location: /usr/local/bin/railway?
flairsed
flairsedOPโ€ข9mo ago
yes
maddsua
maddsuaโ€ข9mo 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
flairsed
flairsedOPโ€ข9mo ago
i use ubuntu and idk what cup
flairsed
flairsedOPโ€ข9mo ago
No description
flairsed
flairsedOPโ€ข9mo ago
LOOL one sec
maddsua
maddsuaโ€ข9mo ago
after you download it, try running in-place, just to see that it runs
flairsed
flairsedOPโ€ข9mo ago
wdym running it
maddsua
maddsuaโ€ข9mo ago
like, after extracting that tar.gz just run ./railway --version in the same directory like half an hour ago I installed railway like that in cicd https://discord.com/channels/713503345364697088/727689277219012669/1216607735798562816
flairsed
flairsedOPโ€ข9mo ago
it just says that it is a directory
maddsua
maddsuaโ€ข9mo 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
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
basically, these 3 commands should do the trick ah, mv might require sudo
flairsed
flairsedOPโ€ข9mo ago
it says
flairsed
flairsedOPโ€ข9mo ago
No description
maddsua
maddsuaโ€ข9mo ago
well, you'd need to removed the old download files try downloading it into an empty directory if for some reason removing existing files is not an option idk why it wouldn't be tho ๐Ÿ˜€
flairsed
flairsedOPโ€ข9mo ago
No description
flairsed
flairsedOPโ€ข9mo ago
No description
maddsua
maddsuaโ€ข9mo ago
the way you clip the output doesn't really help me understand what's going in
flairsed
flairsedOPโ€ข9mo ago
i clipped the cmd
maddsua
maddsuaโ€ข9mo ago
indeed you did
flairsed
flairsedOPโ€ข9mo ago
No description
maddsua
maddsuaโ€ข9mo ago
it's ./railway
flairsed
flairsedOPโ€ข9mo ago
oh tar -xzvf ./railway.tar.gz that?
maddsua
maddsuaโ€ข9mo ago
nono, to run a file from directory you prefix it with ./
flairsed
flairsedOPโ€ข9mo ago
./railway tar -xzvf railway.tar.gz that? STOPP IDK HOW TO DO THIS
maddsua
maddsuaโ€ข9mo ago
1: tar -xzvf railway.tar.gz 2: ./railway if it runs, then you can copy it to /usr/local/bin so that it could be run from anywhere and the command for it is mv ./railway /usr/local/bin
flairsed
flairsedOPโ€ข9mo ago
IT WORKED
maddsua
maddsuaโ€ข9mo ago
noice
flairsed
flairsedOPโ€ข9mo 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 @madhdsua ๐Ÿ˜Š
maddsua
maddsuaโ€ข9mo ago
whaaaa what deps?
flairsed
flairsedOPโ€ข9mo ago
let me get them
flairsed
flairsedOPโ€ข9mo ago
well this is what i want to get but like i don't know how i would run the commands on railway
maddsua
maddsuaโ€ข9mo ago
dockerfile
flairsed
flairsedOPโ€ข9mo ago
huh
maddsua
maddsuaโ€ข9mo ago
:kekw:
flairsed
flairsedOPโ€ข9mo ago
should I use the docker way? @Brody chatstaker :instantregret:
maddsua
maddsuaโ€ข9mo 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 wait are 2 of you testing me lol? ๐Ÿคฃ
flairsed
flairsedOPโ€ข9mo ago
i want u to know i know nothing ab coding besides lua no im gen dumb
maddsua
maddsuaโ€ข9mo ago
oh then it will be quite a ride for sure lol docker isn't super hard actually says the person who almost doesn't use it :kekw:
flairsed
flairsedOPโ€ข9mo ago
okay so how do i create a dockerfile
maddsua
maddsuaโ€ข9mo ago
well I can write a simple one 4 u only question is how is that thing should be ran?
flairsed
flairsedOPโ€ข9mo ago
wdym
flairsed
flairsedOPโ€ข9mo ago
is this not how
No description
maddsua
maddsuaโ€ข9mo ago
k brody you're giving me a conductor afterwards for sure because I'm reading their docs now :kekw:
flairsed
flairsedOPโ€ข9mo ago
:thanosanguish: madusa for conductor
maddsua
maddsuaโ€ข9mo ago
2024 lessgo dockerfile isn't the hard part, running the app is :kekw:
flairsed
flairsedOPโ€ข9mo ago
๐Ÿ˜ƒ
maddsua
maddsuaโ€ข9mo ago
yo do something
No description
maddsua
maddsuaโ€ข9mo ago
it kinda hang ๐Ÿ˜€
flairsed
flairsedOPโ€ข9mo ago
:lfg:
maddsua
maddsuaโ€ข9mo ago
classic
No description
maddsua
maddsuaโ€ข9mo ago
need to install the deps they actually have a docker image lol it's appflowyio/appflowy_client
flairsed
flairsedOPโ€ข9mo ago
oh! so do i just use the docker than thats all? or do i also put in the github thing there too
maddsua
maddsuaโ€ข9mo ago
there's this option in railway's dashboard
No description
flairsed
flairsedOPโ€ข9mo ago
yep ive done that
flairsed
flairsedOPโ€ข9mo ago
No description
maddsua
maddsuaโ€ข9mo ago
well that's a weird app ngl
flairsed
flairsedOPโ€ข9mo ago
:salute:
No description
flairsed
flairsedOPโ€ข9mo ago
did i need to put the depo there or
maddsua
maddsuaโ€ข9mo ago
hmm nope, it just doesn't work for some reason
maddsua
maddsuaโ€ข9mo ago
No description
flairsed
flairsedOPโ€ข9mo ago
thats what I got
maddsua
maddsuaโ€ข9mo ago
WHY DOES IT NEED A DISPLAY
flairsed
flairsedOPโ€ข9mo ago
EIWHAUIOEHWA :lfg:
maddsua
maddsuaโ€ข9mo ago
hdmi 2 disconnected or something ๐Ÿ’€
flairsed
flairsedOPโ€ข9mo ago
is there anyway around it or
maddsua
maddsuaโ€ข9mo ago
not that I'm familiar with this app sooo idk
flairsed
flairsedOPโ€ข9mo ago
@Brody u seem smart know anything ab this?
Brody
Brodyโ€ข9mo ago
yeah but it's funny watching mad try he tends to dive into things without reading the docs
flairsed
flairsedOPโ€ข9mo ago
HELP ME PLEASE MAD TRIED THEIR HARDEST AND UR WATCHING US STRUGGLE ๐Ÿ’”
maddsua
maddsuaโ€ข9mo ago
docs are for losers
Brody
Brodyโ€ข9mo ago
I don't think you're in a position to say such things
maddsua
maddsuaโ€ข9mo ago
if your product needs 10 A4 pages of docs just to get it running - it's a bad design
Brody
Brodyโ€ข9mo ago
classic blame the docs
flairsed
flairsedOPโ€ข9mo ago
soo is there a fix ๐Ÿซฃ
maddsua
maddsuaโ€ข9mo ago
classic "that's why I'm not using X and is happy about my services just working" yeah you're right so, from now, it's on Brody
Brody
Brodyโ€ข9mo ago
well I'll save you both the trouble, you're trying to run a desktop client on railway, not a web app
maddsua
maddsuaโ€ข9mo ago
ok, fair so u did read the docs lol
Brody
Brodyโ€ข9mo ago
of course long ago
flairsed
flairsedOPโ€ข9mo ago
been with us every step of the way
maddsua
maddsuaโ€ข9mo ago
I'll have a shot of voka than goodby
flairsed
flairsedOPโ€ข9mo ago
SO does it not work.. @Brody ๐Ÿ˜
Brody
Brodyโ€ข9mo ago
it can't work
flairsed
flairsedOPโ€ข9mo ago
yikes okay
Solution
Brody
Brodyโ€ข9mo 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
flairsed
flairsedOPโ€ข9mo ago
yeah thats fine but would it still work?
Brody
Brodyโ€ข9mo ago
they don't provide a docker image to run their web client
flairsed
flairsedOPโ€ข9mo ago
so wait then what am I running ??
Brody
Brodyโ€ข9mo ago
nothing, this isn't feasible
flairsed
flairsedOPโ€ข9mo ago
no but like if it was to work what would be running
Brody
Brodyโ€ข9mo ago
just the web client, and in my opinion running their web client is pointless when they offer platform native apps
flairsed
flairsedOPโ€ข9mo ago
okay ty
Brody
Brodyโ€ข9mo ago
sorry this didn't turn out to what you thought it was
Want results from more Discord servers?
Add your server