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.
See this blog article for detailed setup instructions for AWS.
npm install -g ghostrunnermkdir somewhere && cd somewhere
ghostrunner init
ghostrunner serverghostrunner init will not overwrite any files - if you want to overwrite files then remove them first.
ghostrunner install # uses ndm to install the appropriate service wrapper for your OS
ghostrunner start # to start the service now- Install ghostrunner on the server:
sudo npm install -g ghostrunner - Deploy the blog to your server and
cdinto the directory npm install && sudo ghostrunner install && sudo ghostrunner start- Confirm that it runs on system startup by rebooting
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- If you change the package name (in package.json) you will also need to change the
ghostrunner-blogkey in service.json