Resolving url's in ghost app on github pages


#1

My ghost blog on github pages is not working
repo url: https://github.com/karthikchintala1/karthikchintala1.github.io

As I figure it out the url’s in the static folder might not be correct as I saw them still pointing to http://localhost:2368.

url: http://karthikchintala1.github.io/

configuration:
Ghost version: 1.25.4
Python version: 2.7.15
node version: 8.11.3
Windows 10 x64

Steps to reproduce:

  1. Downloaded the ghost and unzipped to a folder
  2. npm start on the folder
  3. Working in local
  4. buster generate (generated static folder)
  5. buster deploy (deployed)
  6. Accessed site it’s not working as the urls are not resolved

I’m not sure how to map these url’s to the root directory of the github repo.

Please help.


#2

You need to tell Ghost what your site URL is, or it will default to localhost. you can find the docs here


#3

I did set that url to point to github pages url but still it didn’t work.

And BTW, I don’t see config.production.json on the ghost folder to update the URLs but instead I see bunch of files in core/server/config folders


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.