cobyism/ghost-on-heroku

How to run locally

Closed this issue · 1 comments

After cloning the repo locally, running npm install and then npm start I get the following errors:

> node server.js

[2018-06-16 00:18:22] ERROR Target log folder does not exist: content/logs/ 
[2018-06-16 00:18:24] ERROR Target log folder does not exist: content/logs/ 

Any instructions on how to run this locally?

@bhellman1, I got this same error and just manually created the logs folder under content. After that I ran the following command in console:

knex-migrator init --mgpath node_modules/ghost

It should build out the local db for you... then run npm start again and see what happens.

Note: make sure to run npm install knex-migrator -g first to install it globally.