Difference between pages "Package:Ghost (Blogging Platform)" and "Test"

(Difference between pages)
 
 
Line 1: Line 1:
{{Ebuild
+
[[TestProp::foo]]
|Summary=Ghost allows you to write and publish your own blog, giving you the tools to make it easy and even fun to do.
+
[[TestProp::bar]]
|CatPkg=www-apps/ghost
+
[[TestProp::oni]]
|Maintainer=anak1n
+
<in/>
|Homepage=https://ghost.org
+
{{#subobject:foo|TestProp=blah}}
}}
+
{{#subobject:bar|TestProp=blarg}}
 +
{{#subobject:oni|TestProp=bleh}}
 +
{{#subobject:ble|Country=#!/bin/bash
 +
# -*-eselect-*-  vim: ft=eselect
 +
# Copyright (c) 2005-2014 Gentoo Foundation
 +
#
 +
# This file is part of the 'eselect' tools framework.
 +
#
 +
# eselect is free software: you can redistribute it and/or modify it under the
 +
# terms of the GNU General Public License as published by the Free Software
 +
# Foundation, either version 2 of the License, or (at your option) any later
 +
# version.
 +
#
 +
# eselect is distributed in the hope that it will be useful, but WITHOUT ANY
 +
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 +
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 +
#
 +
# You should have received a copy of the GNU General Public License along with
 +
# eselect.  If not, see <http://www.gnu.org/licenses/>.
  
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.
+
# Where are our data?
 +
ESELECT_DATA_PATH="/usr/share/eselect"
  
To use Ghost in production (as opposed to development mode) you simply first run:
+
# Where are modules installed by default?
 +
ESELECT_DEFAULT_MODULES_PATH="${ESELECT_DATA_PATH}/modules"
  
{{console|body=
+
# Look in these places for modules
###i## emerge ghost
+
ESELECT_MODULES_PATH=( \
###i## npm install --production
+
        "${HOME}/.eselect/modules" \
}}
+
        "${ESELECT_DEFAULT_MODULES_PATH}" )
  
Then configure your options in {{f|/usr/share/webapps/ghost/config.example.js}} and rename it to {{f|/usr/share/webapps/ghost/config.js}}:
+
# Look in this place for libraries
{{file|name=config.js|lang=javascript|desc=ghost config|body=
+
ESELECT_CORE_PATH="${ESELECT_DATA_PATH}/libs"
// # Ghost Configuration
+
// Setup your Ghost install for various environments
+
// Documentation can be found at http://support.ghost.org/config/
+
  
var path = require('path'),
+
# Look here for the default contents of a module
    config;
+
ESELECT_DEFAULT_ACTIONS="${ESELECT_CORE_PATH}/default.eselect"
  
config = {
+
# Our program name and version
    // ### Production
+
ESELECT_PROGRAM_NAME="eselect"
    // When running Ghost in the wild, use the production environment
+
ESELECT_VERSION="1.4.3"
    // 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: {
+
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] }}
            // Host to be passed to node's `net.Server#listen()`
+
{{#ask: [[Category:News]] [[Publication Status::Published]]
            host: '0.0.0.0',
+
|
            // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
+
| order=descending
            port: '2368'
+
| sort=Publication Date
        }
+
| format=feed
    }
+
| page=full
};
+
| title=Funtoo Linux News
 +
| description=Latest Funtoo Linux news
 +
|type=atom
 +
| limit=20
 +
}}
  
// Export config
+
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='amd64-bulldozer']/@builds}}
module.exports = config;
+
;Builds: {{#external_value:builds}}
}}  
+
  
{{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.}}
+
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
 +
<div style="align: center;">
 +
[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-orglogo|link=Organization:Brownrice Internet]]<br/>
 +
[[Organization:Brownrice Internet|Learn about Funtoo-friendly organization: Brownrice Internet]]</div>
 +
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
 +
{{fullurl:News:The Many Builds of Funtoo Linux}}
 +
{{#widget:AddThis}}
  
After you've completed setting up your {{f|config.js}}, you can start Ghost from:
+
I like the {{f|/etc/make.conf}} file, which can also be referred to as {{f|/etc/portage/make.conf}}. It is a groovy file. Another cool file is {{f|/etc/fstab}}.
  
{{console|body=
+
=== make.conf mentions ===
###i## npm start --production
+
 
 +
{{#ask: [[Mentions file::make.conf]]
 +
| format=category
 
}}
 
}}
  
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}}
+
{{console|body=
+
# ##i##bluetoothctl
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
+
[##g##NEW##!g##] Controller 00:02:72:C9:62:65 antec [default]
 
+
##bl##[bluetooth]##!bl###power on
{{file|name=config.js|lang=javascript|desc=ghost config|body=
+
Changing power on succeeded
privacy: {
+
##bl##[bluetooth]##!bl### ##i##agent on
    useGravatar: false
+
Agent registered
}
+
##bl##[bluetooth]##!bl### ##i##scan on
 +
Discovery started
 +
##bl##[bluetooth]##!bl### ##i##devices
 +
Device 00:1F:20:3D:1E:75 Logitech K760
 +
##bl##[bluetooth]##!bl### ##i##pair 00:1F:20:3D:1E:75
 +
Attempting to pair with 00:1F:20:3D:1E:75
 +
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
 +
##r##[agent]##!r## Passkey: 454358
 +
##r##[agent]##!r## Passkey: ##i##4##!i##54358
 +
##r##[agent]##!r## Passkey: ##i##45##!i##4358
 +
##r##[agent]##!r## Passkey: ##i##454##!i##358
 +
##r##[agent]##!r## Passkey: ##i##4543##!i##58
 +
##r##[agent]##!r## Passkey: ##i##45435##!i##8
 +
##r##[agent]##!r## Passkey: ##i##454358##!i##
 +
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Paired: yes
 +
Pairing successful
 +
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: no
 +
##bl##[bluetooth]##!bl### ##i##connect 00:1F:20:3D:1E:75
 +
Attempting to connect to 00:1F:20:3D:1E:75
 +
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
 +
Connection successful
 +
##bl##[bluetooth]##!bl### ##i##quit
 +
[##r##DEL##!r##] Controller 00:02:72:C9:62:65 antec [default]
 +
#
 
}}
 
}}
 
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.
 
 
{{EbuildFooter}}
 

Revision as of 04:35, February 19, 2015

TestProp::foo TestProp::bar TestProp::oni 1 {{#subobject:foo|TestProp=blah}} {{#subobject:bar|TestProp=blarg}} {{#subobject:oni|TestProp=bleh}} {{#subobject:ble|Country=#!/bin/bash

  1. -*-eselect-*- vim: ft=eselect
  2. Copyright (c) 2005-2014 Gentoo Foundation
  3. This file is part of the 'eselect' tools framework.
  4. eselect is free software: you can redistribute it and/or modify it under the
  5. terms of the GNU General Public License as published by the Free Software
  6. Foundation, either version 2 of the License, or (at your option) any later
  7. version.
  8. eselect is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  10. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License along with
  12. eselect. If not, see <http://www.gnu.org/licenses/>.
  1. Where are our data?

ESELECT_DATA_PATH="/usr/share/eselect"

  1. Where are modules installed by default?

ESELECT_DEFAULT_MODULES_PATH="${ESELECT_DATA_PATH}/modules"

  1. Look in these places for modules

ESELECT_MODULES_PATH=( \

       "${HOME}/.eselect/modules" \
       "${ESELECT_DEFAULT_MODULES_PATH}" )
  1. Look in this place for libraries

ESELECT_CORE_PATH="${ESELECT_DATA_PATH}/libs"

  1. Look here for the default contents of a module

ESELECT_DEFAULT_ACTIONS="${ESELECT_CORE_PATH}/default.eselect"

  1. Our program name and version

ESELECT_PROGRAM_NAME="eselect" ESELECT_VERSION="1.4.3" }}

{{#ask: -Has subobject::Test }} {{#ask: Publication Status::Published | | order=descending | sort=Publication Date | format=feed | page=full | title=Funtoo Linux News | description=Latest Funtoo Linux news |type=atom | limit=20 }}


Builds
1,2,3,4,5,6

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf

[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-orglogo|link=Organization:Brownrice Internet]]

Learn about Funtoo-friendly organization: Brownrice Internet

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf http://www.funtoo.org/News:The_Many_Builds_of_Funtoo_Linux

I like the /etc/make.conf file, which can also be referred to as /etc/portage/make.conf. It is a groovy file. Another cool file is /etc/fstab.

make.conf mentions

{{#ask: Mentions file::make.conf | format=category }}

# bluetoothctl 
[NEW] Controller 00:02:72:C9:62:65 antec [default]
[bluetooth]#power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# scan on
Discovery started
[bluetooth]# devices
Device 00:1F:20:3D:1E:75 Logitech K760
[bluetooth]# pair 00:1F:20:3D:1E:75
Attempting to pair with 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[CHG] Device 00:1F:20:3D:1E:75 Paired: yes
Pairing successful
[CHG] Device 00:1F:20:3D:1E:75 Connected: no
[bluetooth]# connect 00:1F:20:3D:1E:75
Attempting to connect to 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
Connection successful
[bluetooth]# quit
[DEL] Controller 00:02:72:C9:62:65 antec [default]
#