Questions tagged [ghost]

Ghost is a simple blogging platform. It is based on node.js and Express on the server side, SQLite3 or MySQL as a database, and Handlebars on the client side.

The project is maintained by a non-profit organisation called the Ghost Foundation, along with an amazing group of independent contributors. You can find information about the project in the following places:

235 questions
2
votes
1 answer

Ghost - Embedded JavaScript doesn't trigger d3js

I got a problem by using d3js within a blog post. I have successfully done the installation like this copy d3.min.js to /content/themes/[theme name]/assets/js/ and adding
Danny
  • 1,078
  • 7
  • 22
2
votes
1 answer

Is it possible to render another express application from express?

Basically what happened was we have an app server that is running express and routes to a bunch of SPAs. This was great but then we wanted to have an app that runs its own node/express script (ghost). I can't figure out how to set the route /ghost…
Z2VvZ3Vp
  • 7,033
  • 6
  • 21
  • 35
2
votes
0 answers

Java PhantomJS with Ghost Driver Working on Mac But Not On Linux

our web application is running fine on mac but getting timeout out exception ON linux. I am using phantomJS 1.9.8 and 1.9.7. Below is Java Code and stack trace. Hi, our web application is running fine on mac but getting timeout out exception ON…
2
votes
0 answers

Ghost unable to start due to missing dependencies

My installation of Ghost on a DigitalOcean server running Ubuntu 14.04 suddenly stopped working. The webpage returns a 502 Bad Gateway. When I try npm start the console returns: ERROR: Ghost is unable to start due to missing dependencies: Cannot…
Jacob
  • 21
  • 3
1
vote
2 answers

How run ghost on Google App Engine

I want to run ghost on GAE standard environment. But I can not it. What is happens? server.js const ghost = require('ghost'); const port = process.env.PORT || 8080; ghost().then(function (ghostServer) { …
mats
  • 11
  • 2
1
vote
1 answer

Using environment variables in Ghost v1 config

In Ghost 0.x, config was provided via a single config.js file with keys for each env. In Ghost 1.0, config is provided via multiple config.json files How do you provide environment variables in Ghost 1.0? I would like to dynamically set the port…
Ishan
  • 3,931
  • 11
  • 37
  • 59
1
vote
2 answers

Add htaccess to a Ghost project

I´m trying to add a .htaccess to my ghost project to enable the gzip compression, Im serving my project in Nginx Ubuntu 16 and Ghost-cli, i see that sites-avalable generates a proxy that redirects to the node that runs on localhost:2368, this is the…
1
vote
2 answers

Error when running ghost docker image second time

I can run docker container with ghost with this command (https://hub.docker.com/_/ghost/): docker run -ti -v /tmp/data:/var/lib/ghost/content -p2368:2368 ghost But only when /tmp/data is empty. If I try to stop this container with Ctrl+c and run it…
kraag22
  • 3,340
  • 3
  • 29
  • 37
1
vote
0 answers

Nginx config for Express SPA?

I am setting up a Ghost blog which works as a React-based SPA. Everything's hosted on DO. That means I don't have a great way to tool around with Express, which is what powers Ghost. For my frontend, I need to always serve my index response,…
lostPixels
  • 1,303
  • 9
  • 23
1
vote
0 answers

Where should node and node_modules be installed on Centos 7?

I am trying to install the Ghost blogging platform as a Node module on Centos 7 box. My question is: Where should node, npm, and node_modules be installed, ideally? Currently, I have ghost installed in /var/www/ghost, and there are 50+ node…
John
  • 1,018
  • 12
  • 19
1
vote
1 answer

Command failed when running ghost start

Fresh install, trying to run ghost start I get the following error: Debug Information: OS: Raspbian, v8.0 Node Version: v6.13.0 Ghost-CLI Version: 1.5.2 Environment: production Command: 'ghost start' An error occurred. Message:…
Path
  • 11
  • 3
1
vote
2 answers

Issue using Ghost with Google Cloud SQL

I'm following the instructions here to use Ghost as an NPM module, and attempting to setup Ghost for production. I'm running Google cloud sql proxy locally. When I run NODE_ENV=production knex-migrator init --mgpath node_modules/ghost I get this…
1
vote
0 answers

How to load prism in Ghost

I try to load prism.js in my ghost. I've forked this repo which is not supporting the new ghost 1.x verions. I've updated the tags so I'm able to load the layouts but I'm still unable to load prism.js. In default.hbs: {{> loaders/load-prism}} In…
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
1
vote
3 answers

Initialize Ghost database on new install

I am trying to set up a brand new Ghost blog on a Centos 7 server. I have Nginx, Node and Ghost installed and have written all of the necessary configuration files. It's pretty close to working, but I wanted to use MySQL instead of SQLite, so I…
John
  • 1,018
  • 12
  • 19
1
vote
1 answer

How do i connect my domain name to a Docker container running a Ghost blog

What i have done: Bought a domain name with Dreamhost. Redirected said domain names DNS A record to the ip of my docker environment. Set up a Docker environment with portainer, running a container with the latest version of the GHOST blogging…