0
Answered
Setting up a Ghost Blog (Production mode) in Ajenti
Hi,
I have successfully set up Ghost blog in ajenti (script name = index.js), but having problems configuring it to start in production mode.
After checking the ghost documents ( http://docs.ghost.org/usage/configuration/ )
i realized i need to start it as
NODE_ENV=production node index.js
instead of what is automatically configured in ajenti (node index.js)
I could manually change the settings in superviord, but it keeps getting overwritten when i make updates to my websites. How can i make the change permanent ?
I have successfully set up Ghost blog in ajenti (script name = index.js), but having problems configuring it to start in production mode.
After checking the ghost documents ( http://docs.ghost.org/usage/configuration/ )
i realized i need to start it as
NODE_ENV=production node index.js
instead of what is automatically configured in ajenti (node index.js)
I could manually change the settings in superviord, but it keeps getting overwritten when i make updates to my websites. How can i make the change permanent ?
Answer
Answer
Answered
Hi Roland,
I've published an update that adds Environment setting to Node.js content. You should be able to simply paste NODE_ENV=production there.
I've published an update that adds Environment setting to Node.js content. You should be able to simply paste NODE_ENV=production there.
Customer support service by UserEcho
I've published an update that adds Environment setting to Node.js content. You should be able to simply paste NODE_ENV=production there.