How does Railway use THE button create a repo from a modified root of the template?
19 Replies
Project ID:
N/A
I am mostly referring to the underlying
git
commands or any similar alternative that is used.
I am attempting to create a template repo for Railway with /basic
and /advanced
versions. Although this works for Railway (thanks to the root directory override), I'm unsure how to make this work for non-Railway users simply using my template directly.
I mean, not just users who don't use the button. But people who just do not want to use Railway entirely.they would just fork the repo and work on whatever version they wanted, deleting the basic directory if it's not needed
Ah, my last resort ;-;
So, it will just be something like this?
yeah just use the directoy you want, at that point it's just folders on a computer
True. I just wanted to reduce the number of setup instructions, that's it
to reduce the setup, make them separate repos
Unfortunate that GitHub doesn't provide an option to override the root dir
being able to deploy from a specific directory is a luxury of railway
Not really pedagogical, IMO. Linking users to a separate repo from the README? I'd rather increase my setup instructions a tiny bit haha
True
Good stuff
I mean, I know of other PAAS platforms that allow you to set a root directory too
so, luxury of PAAS platforms**
Them being?
SourceHut I assume? π€
never heard of it
Ouch lol
I'm a railway shill for the time being π
I have
We wanna link to other Git hosts but we need to get our anti-fraud game up
Oh, I thought you were referring to PAAS platforms similar to GitHub
root dir was intended for monorepos
Yeah, that's what mine would become.
anti-fraud π³
It would be nice if you linked SourceHut since it allows creating multiple git repositories under one project (which fits my use-case perfectly). Looking forward to it!