Comments (13)
@tobimori: I have nothing to add - you are always to the point! Thanks for answering!
from gatsby-theme-try-ghost.
You can't got your site deployed like this because Netlify can never get the content. Please follow the Readme of styxlab/gatsby-starter-try-ghost.
from gatsby-theme-try-ghost.
Using Gatsby with Ghost on a local machine is sadly not possible because of the way Gatsby (and this repository) handles Ghosts In-Post-Images.
You should be able to use the linked repository with a custom domain by adding a CNAME
file with the desired domain name to your GitHub repository, pointing your Domain records to GitHub's server as described here and enabling GitHub Pages. You could also select that repository (so where the script uploaded the static files) to deploy to Netlify. The build process happens on your computer and the script will upload correctly to GitHub, so there won't be problems like with Gatsby. Unfortunately, I can't give support you with that.
from gatsby-theme-try-ghost.
Netlify can't access a local Ghost instance hosted on your pc. You need to host Ghost on a server if you want to deploy to the outer world.
from gatsby-theme-try-ghost.
I connected my local
with Settings > Integrations, created Gatsby integration and pushed it on GitHub. So basically any changes on my localhost:2368/
are reflected on http://localhost:8000/
then it's all pushed on GitHub here. Where Netifly fetched and builds it. I actually managed to do it earlier today, but right now I'm getting this error mentioned above.
from gatsby-theme-try-ghost.
You need to make your Ghost available to the outer world if you want to use it as a backend for Gatsby. Also, localhost defaults to the current computer, meaning wherever Netlify runs that build on, not exactly your computer. You can never run the build like this on server where no Ghost development environment is running.
from gatsby-theme-try-ghost.
Thanks.
Is that the reason why these instructions are missing from the repo readme ?
I am also following this tutorial and basically replacing gatsby-starter-ghost
with styxlab/gatsby-starter-try-ghost
I actually managed to get the website deployed earlier today with this, but getting the error mentioned on my second attempt.
from gatsby-theme-try-ghost.
Oh my, I am blind gatsby-theme-try-ghost
and
gatsby-starter-try-ghost
aren't the same. So I am having issue with gatsby-starter-try-ghost
🤦
from gatsby-theme-try-ghost.
Any idea why the issues aren't enabled there? Yup, I mixed things up, trying again and will report back. Thanks for quick replies.
from gatsby-theme-try-ghost.
Because that repository is just a starter repo with preconfigured plugins that are hosted in this repo. You're fine with staying here with your issue, but it's still a configuration issue from your site. Netlify can't access your Ghost instance because you defined a local instance in .ghost.json
. Netlify needs to be able to source from your instance and will always link back to your instance for inline images - so you need a server to run Ghost on.
from gatsby-theme-try-ghost.
@tobimori Thanks. I may give up then. My goal is having ghost locally, editing posts,etc then publishing on GitHub Pages/Netifly and having it as a static site on a custom domain.
It was an interesting learning curve, as this is all new to me. Earlier I tried this but didn't worked well with a custom domain, so I've been playing with gatsby-started-try-ghost
and this, I liked gatsby-started-try-ghost because it allowed newer theme.
from gatsby-theme-try-ghost.
Thanks for clarification, I'll re-direct my research in that direction. Glad I discovered Gatsby and this repo nevertheless may come in handy for the future projects. Thanks for your help, appreciate it.
from gatsby-theme-try-ghost.
No problem!
from gatsby-theme-try-ghost.
Related Issues (20)
- Integrate Handlebar Templating HOT 2
- support for ignoring http errors like 403 when try to download image HOT 6
- Certificate Has Expired HOT 2
- Issue with Gatsby v3 HOT 4
- hi, ive deploy it with netlify, how can i find the admin pannel? HOT 3
- Site-Logo-URL is not redirecting to siteURL in case base path set to '/blog' HOT 1
- Allow override title and description HOT 2
- Allow filtering of Ghost artifacts retrieval HOT 2
- Ghost post is not reflecting when working in dev mode HOT 6
- Not able to find gatsby-rehype-remote-images plugin HOT 2
- How to edit casper UI? HOT 4
- Error: url passed to createRemoteFileNode is either missing or not a proper web HOT 6
- No Fetched posts HOT 4
- Some images has processed srcset but only renders the placeholder HOT 4
- gatsby build issue and `gatsby-rehype-ghost-links` HOT 3
- API keys added to ghost,json HOT 1
- gatsby-rehype-ghost-links not rewriting urls HOT 9
- gatsby-transformer-rehype with custom plugin not working in Gatsby v3.14 HOT 1
- Support for Gatsby 4 HOT 5
- Errors on Development process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-theme-try-ghost.