ghost-cli | A local admin CLI for Ghost | Blog library
kandi X-RAY | ghost-cli Summary
kandi X-RAY | ghost-cli Summary
Since the Ghost blogging platform does not include a CLI (at this time), I decided to build one containing some simple admin functions. I needed a number of these functions when I ported my blog from WordPress with roughly 500 post to Ghost. I had a number things that needed to be corrected and cleaned up. The CLI operates from the export of your blog's settings and data. Any changes made using the CLI are not reflected in your blog. You must manually update your blog. Again, no changes are automatically made on your Ghost blog.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ghost-cli
ghost-cli Key Features
ghost-cli Examples and Code Snippets
Community Discussions
Trending Discussions on ghost-cli
QUESTION
I'm a beginner using a reverse proxy or managing technical infrastructure. I have my main app (react + nginx) on a server and I'm trying to install Ghost on a subfolder https://tinymentions.io/blog on the same server as my main app.
Unfortunately, I'm not able to successfully configure Nginx to properly serve my Ghost blog. When I visit the URL ttps://tinymentions.io/blog I get an error: "HTTP/1.1 404 NOT FOUND"
I have searched the Ghost forum, Stack Overflow and all over Google, tried different approaches and unfortunately, I'm still not able to come up with a solution for this problem. Every time I tried a new approach, I restarted nginx with sudo service nginx restart
but with no luck.
I would appreciate any help with this. If I'm not explaining myself correctly and/or need more information, please let me know.
- What's your URL?
My main app is on https://tinymentions.io/
- Ghost URL
- What version of Ghost are you using?
Ghost-CLI version: 1.15.0 Ghost version: 3.35.5
- What configuration?
This is my NGINX config file:
...ANSWER
Answered 2020-Oct-30 at 01:30Finally, I was able to fix this issue.
It seems that nginx wasn’t restarting correctly so I had to stop nginx with the command sudo systemctl stop nginx
and start it again using sudo systemctl start nginx
to try different configurations and see if those finally worked.
The location /blog configuration on my NGINX config file that worked is the following:
QUESTION
I am trying to install Ghost CMS in a subdomain of my shared server but can't get to run the install locally commnad in my subdomain folder. The command I am using is this ghost install local
.
To be able to run node.js in my shared server in I speciefic folder the cpanel has something called "Setup Node.js App" here is where I start to be confused. Then I install it, then in the terminal, I go to a source....
link they give me after the node installation.
After that, I run de node and npm version check, and they are working ok.
I install ghost globally npm install ghost-cli@latest -g
without any problem, but after that, I can not run the ghost install local
Maybe I am doing all wrong and there is a better way to install Ghost in my server.
Tech Support said that the server meets all the requirements.
The server from Namecheap Stellar Plan, Is a Linux shared server and supports SSH and some of the major technologies, included Node.js But I can't make this to work. Locally on my computer it was easy and fast. But on the server (which is the point) I don't know what steps to follow.
I'll be grateful about your help.
...ANSWER
Answered 2020-May-13 at 09:10Maybe a little late to the party, but you have to add the path of the ghost binary to the PATH environment variable. This path is stated when you install ghost-cli, you simply have have to insert the last lib/
bit in the path.
Development:
QUESTION
I'm trying to install a hosted version of Ghost following the installation guide at https://docs.ghost.org/v1/docs/install. With the exception that in my case I want to use sqlite3 as database.
However every step went successfully but after prompting for configure systemd it crash with the following error message:
...ANSWER
Answered 2017-Sep-21 at 12:51Seems the issue was the sqlite3 package.
The ghost installer try to install sqlite3 via node but it seems there is no binaries for all the platforms which makes sqlite3 try to compile from sources.
And it was there when it fails. After uninstalling ghost via ghost uninstall
and then installing sqlite3 separate via npm install -g sqlite3
which also try to compile from sources it worked. (First time it failed anyway but i could not know if it was some network issue, i just run the command again and if worked).
After that I installed Ghost again and it seems to take the compiled version saved globally.
QUESTION
I have a CentOS 7 machine with mysql server and nginx. I installed nodejs with yum install nodejs and ghost-cli.
I wanted to install ghost with ghost-cli. but when I enter the ghost install commant I get this error:
...ANSWER
Answered 2017-Aug-16 at 02:33[Edited after Austin, the core contributor of Ghost-CLI, responded to the issue]
I asked Austin, why he chose to not use local npm version?
He responded:
The reason for that is ghost creates a specific ghost user with which to run ghost. If you install nvm locally (e.g. in ~/.nvm
), there is a very real (e.g. has happened several times) possibility that the created ghost user won't be able to run ghost because the home folder doesn't allow read permissions for everyone on the filesystem.
Going to close this issue for now - if more people have issues with this then we can reopen and figure out a better solution
Ok, so looks like you were able to resolve by running the installation as root but this is not something that I can do so I dug a little deeper into code that was pushed in the last couple of days to Ghost-CLI and my best guess is that this specific commit fix nvm -- ea30015 is causing the permission issue.
I have created an issue #447 with Ghost-CLI project to see if they can confirm it as well.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ghost-cli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page