Can I deploy the latest version of Strapi CMS?

Railway's Strapi version is 4.5.5 and I want to use 4.11.4 i.e, latest version. Can I deploy the latest version of Strapi on Railway? Thank you.
57 Replies
Percy
Percy17mo ago
Project ID: 4fbd8999-00bb-4142-942c-d029fee7ee59
majid1983
majid1983OP17mo ago
4fbd8999-00bb-4142-942c-d029fee7ee59
Brody
Brody17mo ago
once you deploy the railway strapi template it will clone railway's github repo for strapi into your github account, clone that repo to your desktop, make the changes and push, done!
majid1983
majid1983OP17mo ago
Great Thank you
Brody
Brody17mo ago
no problem!
Jack
Jack17mo ago
Can someone ping milo and give him a heads up about updating his Strapi template? It's not letting me.
milo
milo17mo ago
what do you want me to update like
Jack
Jack17mo ago
your strapi template
Jack
Jack17mo ago
GitHub
GitHub - railwayapp-templates/strapi: Deploy Strapi on Railway. Nex...
Deploy Strapi on Railway. Next-gen headless CMS. Contribute to railwayapp-templates/strapi development by creating an account on GitHub.
Jack
Jack17mo ago
either fetch upstream and make it compatible if u made any changes or just change it to use the strapi github if possible now
milo
milo17mo ago
i despise strapi i have no idea what im supposed to do but i can look just update the packages
Jack
Jack17mo ago
no
milo
milo17mo ago
why is it more complicated
Jack
Jack17mo ago
is there any way a team member can transfer or change the owner of a package at all
milo
milo17mo ago
.... no you can make a pr if you want it is my template after all
Jack
Jack17mo ago
bc u forked the entire src so any changes in there from the new updates arent relayed over cause its not using an image
milo
milo17mo ago
i didnt
Jack
Jack17mo ago
if its ur image than maintain it instead of keeping it outdated and asuming updating the packages will resolve the security issues, theres tons of deployments w ur template and youre making credits out of it
milo
milo17mo ago
why are we saying image this isnt an image do you mean template and like i said, you can make a pr if you like
Jack
Jack17mo ago
did u not upload the template on the directory on railway?
milo
milo17mo ago
yeah. it's called a template, not an "image"
Jack
Jack17mo ago
yeah but then youre getting paid for my changes, i never referred to it as an image, re-read that
milo
milo17mo ago
if its ur image than maintain it instead of keeping it outdated
Jack
Jack17mo ago
template my bad, was looking at another message
milo
milo17mo ago
right, so you did referr to it as an image lol it's fine but i've no experience with templates i just updated a bunch of them a while ago and look over the changes to them
Jack
Jack17mo ago
do u know how to maintain them or u just uploaded them
milo
milo17mo ago
i updated lots of the templates, i know how to maintain things if that is what you are asking
Jack
Jack17mo ago
yeah, so just asking to update the strapi one
milo
milo17mo ago
but im curious as to why it isnt as simple as just updating the packages?
Jack
Jack17mo ago
but u cant just update the packages bc that has nothing to do with actual strapi code
milo
milo17mo ago
surely it does
Jack
Jack17mo ago
nope
milo
milo17mo ago
the strapi reop on railwayapp-templates isnt just a hard fork of the streapi repo you know that right
Jack
Jack17mo ago
the packages are just resources for the code to reference and make use of, like functions
milo
milo17mo ago
last time i checked that wasnt how it worked as all the logic is in the package4
Jack
Jack17mo ago
then i got misleaded by the folders and "src" then why didnt his repo update to his desired version
milo
milo17mo ago
the src dir just calls functions from the strapi package
'use strict';

module.exports = {
/**
* An asynchronous register function that runs before
* your application is initialized.
*
* This gives you an opportunity to extend code.
*/
register(/*{ strapi }*/) {},

/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*/
bootstrap(/*{ strapi }*/) {},
};
'use strict';

module.exports = {
/**
* An asynchronous register function that runs before
* your application is initialized.
*
* This gives you an opportunity to extend code.
*/
register(/*{ strapi }*/) {},

/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*/
bootstrap(/*{ strapi }*/) {},
};
like it is a template for a reason it is just boilerpate
Jack
Jack17mo ago
so if he redeployed it then it would update?
milo
milo17mo ago
no?? because the packages in the template are pinned to 4.5.4 if i update the template, and he redeploys the template, it would update and also there is autoupdating for templates
Jack
Jack17mo ago
do u wanna migrate it to use a dockerfile running the latest image so it could be its fine if u dont wanna but just seems extra
milo
milo17mo ago
i didn't make this template, i just made it work. last time i chceked you need this configuration to make it work on railway
Jack
Jack17mo ago
oh so u just uploaded it to the site
milo
milo17mo ago
no i fixed the template it was very broken i madef it work i just updated the structure to work for the new packages# now, im gonna push a commit with the new packages and it should work
Jack
Jack17mo ago
oh
milo
milo17mo ago
are we on the same page nmow *now
Jack
Jack17mo ago
theres no way for it to just use latest right thats what i was concerned ab
milo
milo17mo ago
no there isnt i can turn on dependabot i guess
Jack
Jack17mo ago
can dependabot auto merge or does it only make pr
milo
milo17mo ago
only makes a pr, but i get notifications in #⚡|templates whcih i check enougth https://github.com/railwayapp-templates/strapi/pull/12/files oh god, pr i didnt see! lovely
Jack
Jack17mo ago
why sqlite tho isnt it more expensive than postgresql
milo
milo17mo ago
yeah idk
Jack
Jack17mo ago
¯\_(ツ)_/¯ sorry ab getting heated, just was confused
milo
milo17mo ago
it's cool dw about it
majid1983
majid1983OP17mo ago
Should I update my local strapi to its latest version or not? Please help!
Brody
Brody17mo ago
^
majid1983
majid1983OP17mo ago
Actually, I got confused with the discussion above. Thank you Brody
Brody
Brody17mo ago
no problem!
Want results from more Discord servers?
Add your server