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