0
Є відповідь

Setting up a Ghost Blog (Production mode) in Ajenti

Roland Ng 10 років тому оновлений 10 років тому 2
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 ?

Відповідь

Відповідь
Є відповідь
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.
Відповідь
Є відповідь
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.