Ghost (Blogging Platform)

Revision as of 08:26, January 19, 2015 by Anak1n (Talk | contribs)

www-apps/ghost


Current Maintainer(s):anak1n c
Source Repository:Funtoo Overlay
Homepage

Summary: Ghost allows you to write and publish your own blog, giving you the tools to make it easy and even fun to do.


News

Drobbins

Pre-built kernels!

Funtoo stage3's are now starting to offer pre-built kernels for ease of install. read more....
12 May 2015 by Drobbins
Drobbins

Better Experiences: Ego and Vim

Info on Funtoo's new personality tool called 'ego', and user-focused updates to vim's defaults.
27 April 2015 by Drobbins
Drobbins

How We're Keeping You At the Center of the Funtoo Universe

Read about recent developments that keep you, our users, at the forefront of our focus as Funtoo moves forward.
10 April 2015 by Drobbins
View More News...

Ghost (Blogging Platform)

Tip

This is a wiki page. To edit it, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

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:

  1. emerge ghost
  2. npm install --production

Then configure your options in config.example.js and rename it to config.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 = {

   // ### Production
   // When running Ghost in the wild, use the production environment
   // Configure your URL and mail settings here
   production: {
       url: 'http://blog.somedomain.com',
       mail: {
           transport: 'SMTP',
           options: {
               service: 'Gmail',
               auth: {
                   user: 'user@gmail.com',
                   pass: 'password'
               }
           }
       },
       database: {
           client: 'sqlite3',
           connection: {
               filename: path.join(__dirname, '/content/data/ghost.db')
           },
           debug: false
       },
       server: {
           // Host to be passed to node's `net.Server#listen()`
           host: '0.0.0.0',
           // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
           port: '2368'
       }
   }

};

// Export 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.

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

  1. 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

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.