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
Percy16mo ago
Project ID: 4fbd8999-00bb-4142-942c-d029fee7ee59
majid1983
majid198316mo ago
4fbd8999-00bb-4142-942c-d029fee7ee59
Brody
Brody16mo 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
majid198316mo ago
Great Thank you
Brody
Brody16mo ago
no problem!
Jack
Jack16mo ago
Can someone ping milo and give him a heads up about updating his Strapi template? It's not letting me.
milo
milo16mo ago
what do you want me to update like
Jack
Jack16mo ago
your strapi template
Jack
Jack16mo 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
Jack16mo 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
milo16mo ago
i despise strapi i have no idea what im supposed to do but i can look just update the packages
Jack
Jack16mo ago
no
milo
milo16mo ago
why is it more complicated
Jack
Jack16mo ago
is there any way a team member can transfer or change the owner of a package at all
milo
milo16mo ago
.... no you can make a pr if you want it is my template after all
Jack
Jack16mo 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
milo16mo ago
i didnt
Jack
Jack16mo 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
milo16mo 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
Jack16mo ago
did u not upload the template on the directory on railway?
milo
milo16mo ago
yeah. it's called a template, not an "image"
Jack
Jack16mo ago
yeah but then youre getting paid for my changes, i never referred to it as an image, re-read that
milo
milo16mo ago
if its ur image than maintain it instead of keeping it outdated
Jack
Jack16mo ago
template my bad, was looking at another message
milo
milo16mo 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
Jack16mo ago
do u know how to maintain them or u just uploaded them
milo
milo16mo ago
i updated lots of the templates, i know how to maintain things if that is what you are asking
Jack
Jack16mo ago
yeah, so just asking to update the strapi one
milo
milo16mo ago
but im curious as to why it isnt as simple as just updating the packages?
Jack
Jack16mo ago
but u cant just update the packages bc that has nothing to do with actual strapi code
milo
milo16mo ago
surely it does
Jack
Jack16mo ago
nope
milo
milo16mo ago
the strapi reop on railwayapp-templates isnt just a hard fork of the streapi repo you know that right
Jack
Jack16mo ago
the packages are just resources for the code to reference and make use of, like functions
milo
milo16mo ago
last time i checked that wasnt how it worked as all the logic is in the package4
Jack
Jack16mo ago
then i got misleaded by the folders and "src" then why didnt his repo update to his desired version
milo
milo16mo 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
Jack16mo ago
so if he redeployed it then it would update?
milo
milo16mo 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
Jack16mo 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
milo16mo 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
Jack16mo ago
oh so u just uploaded it to the site
milo
milo16mo 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
Jack16mo ago
oh
milo
milo16mo ago
are we on the same page nmow *now
Jack
Jack16mo ago
theres no way for it to just use latest right thats what i was concerned ab
milo
milo16mo ago
no there isnt i can turn on dependabot i guess
Jack
Jack16mo ago
can dependabot auto merge or does it only make pr
milo
milo16mo 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
Jack16mo ago
why sqlite tho isnt it more expensive than postgresql
milo
milo16mo ago
yeah idk
Jack
Jack16mo ago
¯\_(ツ)_/¯ sorry ab getting heated, just was confused
milo
milo16mo ago
it's cool dw about it
majid1983
majid198316mo ago
Should I update my local strapi to its latest version or not? Please help!
Brody
Brody16mo ago
^
majid1983
majid198316mo ago
Actually, I got confused with the discussion above. Thank you Brody
Brody
Brody16mo ago
no problem!
Want results from more Discord servers?
Add your server