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