Deploying Ghost on Railway from GitHub Repo
Hey everyone,
I’m working on self-hosting a Ghost CMS using the Ghost Starter repo from my GitHub: https://github.com/TryGhost/Starter.
Setup:
1. Project: Ghost CMS, based on the Starter theme, hosted on Railway.
2. Deployment method: Self-hosting on Railway, pulling the source code directly from my GitHub repo.
Issue:
I’m facing a deployment issue during the
- I was able to deploy using Railway’s templates but need to deploy from my GitHub repo to allow for editing and updates. Any advice or insights would be appreciated! Thanks in advance!
yarn install --frozen-lockfile
step. Here’s what the logs show:
It seems the lockfile needs to be updated, but the install process is forced to use a frozen lockfile, causing the build to fail.
package.json snippet
What I Need Help With:
- Given that I’m using the starter Ghost CMS repo, do I need to update the lockfile, or is there a better approach to avoid this error?
- Am I missing anything in my setup for deploying on Railway when self-hosting without Docker?- I was able to deploy using Railway’s templates but need to deploy from my GitHub repo to allow for editing and updates. Any advice or insights would be appreciated! Thanks in advance!
Solution:Jump to solution
I think I will make my life easier and use the Railway templates/docker and just edit the themes locally.
Here is the version I used and it's easy, peasy (there are multiple Ghost Docker versions)...
Here is the version I used and it's easy, peasy (there are multiple Ghost Docker versions)...
4 Replies
Project ID:
d69a5742-7e36-4b23-b053-2b2f8333e4dd
d69a5742-7e36-4b23-b053-2b2f8333e4dd
Solution
I think I will make my life easier and use the Railway templates/docker and just edit the themes locally.
Here is the version I used and it's easy, peasy (there are multiple Ghost Docker versions)
Here is the version I used and it's easy, peasy (there are multiple Ghost Docker versions)