if you want to hack Ghost core you need to follow
Once you done all your hack job, just run grunt release command under your ghost folder.
Once it completed, you will get a zip file:
Then run your hacked ghost under a new empty folder:
ghost install --zip /path/to/.dist/release/Ghost-1.16.1.zip
--zip Path to Ghost release zip to install [string]