<commit_before>// # Ghost Configuration
// Setup your Ghost install for various [environments](http://support.ghost.org/config/#about-environments).

// Ghost runs in `development` mode by default. Full 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://my-ghost-blog.com',
        mail: {},
        database: {
            client: 'sqlite3',
            connection: {
                filename: path.join(__dirname, '/content/data/ghost.db')
            },
            debug: false
        },

        // 配置MySQL 数据库
        /*database: {
            client: 'mysql',
            connection: {
                host     : 'host',
                user     : 'user',
                password : 'password',
                database : 'database',
                charset  : 'utf8'
            },
            debug: false
        },*/

        server: {
            host: '127.0.0.1',
            port: '2368'
        },

        //Storage.Now,we can support `qiniu`,`upyun`, `aliyun oss`, `aliyun ace-storage` and `local-file-store`
        storage: {
            provider: 'local-file-store'
        }

        // or
        // 参考文档： http://www.ghostchina.com/qiniu-cdn-for-ghost/
        /*storage: {
            provider: 'qiniu',
            bucketname: 'your-bucket-name',
            ACCESS_KEY: '<KEY>',
            SECRET_KEY: '<KEY>',
            root: '/image/',
            endpoint: 'http://qiniudn.com'
            prefix: 'http://your-bucket-name.qiniudn.com'
        }*/

        // or
        // 参考文档： http://www.ghostchina.com/upyun-cdn-for-ghost/
        /*storage: {
            provider: 'upyun',
            bucketname: 'your-bucket-name',
            username: 'your user name',
            password: '<PASSWORD>',
            root: '/image/',
            endpoint: 'http://b0.upaiyun.com'
            prefix: 'http://your-bucket-name.b0.upaiyun.com'
        }*/

        // or
        // 参考文档： http://www.ghostchina.com/aliyun-oss-for-ghost/
        /*storage: {
            provider: 'oss',
            bucketname: 'your-bucket-name',
            ACCESS_KEY: '<KEY>',
            SECRET_KEY: '<KEY>',
            root: '/image/',
            endpoint: 'http://oss-cn-hangzhou.aliyuncs.com'
            prefix: 'http://your-bucket-name.oss-cn-hangzhou.aliyuncs.com'
        }*/

        // or
        // 参考文档： http://www.ghostchina.com/install-ghost-on-aliyun-ace/
        /*storage: {
            provider: 'ace-storage',
            bucketname: 'your-bucket-name'
        }*/
    },

    // ### Development **(default)**
    development: {
        // The url to use when providing links to the site, E.g. in RSS and email.<commit_msg>对upyun、qiniu取消 endpoint 设置；去除对ace-storage的支持<commit_after>// # Ghost Configuration
// Setup your Ghost install for various [environments](http://support.ghost.org/config/#about-environments).

// Ghost runs in `development` mode by default. Full 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://my-ghost-blog.com',
        mail: {},
        database: {
            client: 'sqlite3',
            connection: {
                filename: path.join(__dirname, '/content/data/ghost.db')
            },
            debug: false
        },

        // 配置MySQL 数据库
        /*database: {
            client: 'mysql',
            connection: {
                host     : 'host',
                user     : 'user',
                password : 'password',
                database : 'database',
                charset  : 'utf8'
            },
            debug: false
        },*/

        server: {
            host: '127.0.0.1',
            port: '2368'
        },

        //Storage.Now,we can support `qiniu`,`upyun`, `aliyun oss`, `aliyun ace-storage` and `local-file-store`
        storage: {
            provider: 'local-file-store'
        }

        // or
        // 参考文档： http://www.ghostchina.com/qiniu-cdn-for-ghost/
        /*storage: {
            provider: 'qiniu',
            bucketname: 'your-bucket-name',
            ACCESS_KEY: '<KEY>',
            SECRET_KEY: '<KEY>',
            root: '/image/',
            prefix: 'http://your-bucket-name.qiniudn.com'
        }*/

        // or
        // 参考文档： http://www.ghostchina.com/upyun-cdn-for-ghost/
        /*storage: {
            provider: 'upyun',
            bucketname: 'your-bucket-name',
            username: 'your user name',
            password: '<PASSWORD>',
            root: '/image/',
            prefix: 'http://your-bucket-name.b0.upaiyun.com'
        }*/

        // or
        // 参考文档： http://www.ghostchina.com/aliyun-oss-for-ghost/
        /*storage: {
            provider: 'oss',
            bucketname: 'your-bucket-name',
            ACCESS_KEY: '<KEY>',
            SECRET_KEY: '<KEY>',
            root: '/image/',
            endpoint: 'http://oss-cn-hangzhou.aliyuncs.com'  //阿里云的上传端点是分地域的，需要单独设置
            prefix: 'http://your-bucket-name.oss-cn-hangzhou.aliyuncs.com'
        }*/
    },

    // ### Development **(default)**
    development: {
        // The url to use when providing links to the site, E.g. in RSS and email.
{'fraction_non_alphanumeric': 0.1487603305785124, 'fraction_numerical': 0.004850880344951491, 'mean_word_length': 1.464364763169544, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 7, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3170523', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1716, 'n_words': 346}