Ghost is an easy to use, quick, and light blogging platform that uses nodejs and is ready to go in minutes. You can configure it to do anything from a self hosted blog for yourself, a blog that uses multiple users with their own usernames and profile pages.

Ghost is an easy to use, quick, and light blogging platform that uses nodejs and is ready to go in minutes. You can configure it to do anything from a self hosted blog for yourself, a blog that uses multiple users with their own usernames and profile pages.

To use Ghost in production (as opposed to development mode) you simply first run:

To use Ghost in production (as opposed to development mode) you simply first run:

−

# emerge ghost

+

{{console|body=

−

# npm install --production

+

###i## emerge ghost

−

+

###i## npm install --production

−

Then configure your options in config.example.js and rename it to config.js:

+

}}

+

Then configure your options in {{f|/usr/share/webapps/ghost/config.example.js}} and rename it to {{f|/usr/share/webapps/ghost/config.js}}:

+

{{file|name=config.js|lang=javascript|desc=ghost config|body=

// # Ghost Configuration

// # Ghost Configuration

// Setup your Ghost install for various environments

// Setup your Ghost install for various environments

Line 56:

Line 59:

// Export config

// Export config

module.exports = config;

module.exports = config;

+

}}

−

You don't need to use Gmail as your mail, just an example. E-mail is only used for when you add users to the blog, it sends a notice so they can set up their own username and their own password, or if you forget your password and need to reset.

+

{{note|You don't need to use Gmail as your mail, just an example. E-mail is only used for when you add users to the blog, it sends a notice so they can set up their own username and their own password, or if you forget your password and need to reset.}}

−

After you've completed setting up your config.js, you can start Ghost from:

+

After you've completed setting up your {{f|config.js}}, you can start Ghost from:

−

# npm start --production

+

{{console|body=

+

###i## npm start --production

+

}}

−

Once you confirm that it has started, you use the URL and port you provided in your browser: blog.somedomain.com:2368/ghost/signup

+

Once you confirm that it has started, you use the URL and port you provided in your browser: {{c|blog.somedomain.com:2368/ghost/signup}}

If you use Gravatar and use the e-mail used for that, it will automatically enable your Gravatar as your users avatar. You can disable this if you'd like by adding the following to your config.js

If you use Gravatar and use the e-mail used for that, it will automatically enable your Gravatar as your users avatar. You can disable this if you'd like by adding the following to your config.js

+

{{file|name=config.js|lang=javascript|desc=ghost config|body=

privacy: {

privacy: {

useGravatar: false

useGravatar: false

}

}

+

}}

−

After this is all done, you can start using your blog. To use it you go to the domain your provided in config.js blog.somedomain.com:2368/ghost and you will be able to publish, write drafts, and edit any posts.

+

After this is all done, you can start using your blog. To use it you go to the domain your provided in {{c|config.js}}: {{c|blog.somedomain.com:2368/ghost}} and you will be able to publish, write drafts, and edit any posts.

Ghost (Blogging Platform)

Ghost is an easy to use, quick, and light blogging platform that uses nodejs and is ready to go in minutes. You can configure it to do anything from a self hosted blog for yourself, a blog that uses multiple users with their own usernames and profile pages.

To use Ghost in production (as opposed to development mode) you simply first run:

# emerge ghost
# npm install --production

Then configure your options in /usr/share/webapps/ghost/config.example.js and rename it to /usr/share/webapps/ghost/config.js:

You don't need to use Gmail as your mail, just an example. E-mail is only used for when you add users to the blog, it sends a notice so they can set up their own username and their own password, or if you forget your password and need to reset.

After you've completed setting up your config.js, you can start Ghost from:

# npm start --production

Once you confirm that it has started, you use the URL and port you provided in your browser: blog.somedomain.com:2368/ghost/signup

If you use Gravatar and use the e-mail used for that, it will automatically enable your Gravatar as your users avatar. You can disable this if you'd like by adding the following to your config.js

config.js (javascript source code) - ghost config

privacy:{
useGravatar:false}

After this is all done, you can start using your blog. To use it you go to the domain your provided in config.js: blog.somedomain.com:2368/ghost and you will be able to publish, write drafts, and edit any posts.