Can you tell me what to do after grunt prod

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

  • What’s your URL? This is the easiest way for others to debug your issue
  • What version of Ghost are you using?
  • What configuration?
  • What browser?
  • What errors or information do you see in the console?
  • What steps could someone else take to reproduce the issue you’re having?

I am a new ghost user
I want to create my own blog and use ghost-cli to succeed.
I want to install from the source code.
Can be successful with grunt build or grunt prod
But what do you do after that?
I directly deploy the dist file as nginx, and the operation is error reporting.

I am still running locally.

Thanks.

node version : v10.15.3
macos vervion: 10.14.6
ghost version: 2.25.9
Ghost-CLI version: 1.11.0

Could you explain what exactly you are trying to accomplish? A source code install will not use Ghost-CLI, what is it that you are trying to do with the source code install?

Is such that
I have built a successful ghost cli. There is no doubt about this.
The main source code is to try to compile and deploy the source code (mainly want to modify the admin to support Chinese, I am a China user), and even define some small functions (may not be now).

Ghost-CLI is completely separate to the Ghost source code so I think there’s some confusion here.

grunt prod only builds production assets for the admin client, it does not create a release.

grunt release sounds more like what you want? That will build a zip file, you can then use Ghost-CLI to upgrade to that by manually specifying the file, eg ghost update --zip path/to/your/release.zip

2 Likes

Hi, handsome man, Thanks so much!!!, that is what I am confused…and your answer help so much