好吧,本人是一个白痴。Linux什么的一点都不懂。
在网上找了一个教程戳这里 分别按照教程的1/2/3/4安装完毕。
但是问题出现了,在编辑config.js的时候
“.node.js
// # Ghost Configuration
// Setup your Ghost install for various environments
// Documentation can be found at http://support.ghost.org/config/
var path = require('path'),
config;
cOnfig= {
// ### Development (default)
development: {
// The url to use when providing links to the site, E.g. in RSS and email.
url: 'http://127.0.0.1:2368',
// Example mail config // Visit http://support.ghost.org/mail for instructions // ``` // mail: { // transport: 'SMTP', // options: { // service: 'Mailgun', // auth: { // user: '', // mailgun username // pass: '' // mailgun password // } // } // }, // ``` database: { client: 'sqlite3', connection: { filename: path.join(__dirname, '/content/data/ghost-dev.db') }, debug: false }, server: { // Host to be passed to node's `net.Server#listen()` host: '127.0.0.1', // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT` port: '2368' } }
”
没有看到production的代码。
请问怎么办?
