🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

ghostrunner

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghostrunner

A CLI for the Ghost blogging platform

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

Ghostrunner

A CLI for the Ghost blogging platform.

Ghostrunner is a command-line application that can create Ghost blogs, and provides OS-specific service wrappers (upstart, launchctl or initctl) so that the server is started on system startup.

Usage

npm install -g ghostrunner

Creating a Blog

mkdir somewhere && cd somewhere
ghostrunner init
ghostrunner server

ghostrunner init will not overwrite any files - if you want to overwrite files then remove them first.

Installing the blog as a service

ghostrunner install # uses ndm to install the appropriate service wrapper for your OS
ghostrunner start # to start the service now

Deployment

  • Install ghostrunner on the server: sudo npm install -g ghostrunner
  • Deploy the blog to your server and cd into the directory
  • npm install && sudo ghostrunner install && sudo ghostrunner start
  • Confirm that it runs on system startup by rebooting

Specifying user and group

If you want to run your blog as a different user you can use the --uid and --gid options. Be aware that running as root is probably a very bad idea.

ghostrunner install --uid myuser --gid myuser

Troubleshooting

  • If you change the package name (in package.json) you will also need to change the ghostrunner-blog key in service.json

Keywords

ghost

FAQs

Package last updated on 02 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts