Advertisement
Guest User

Untitled

a guest
Apr 29th, 2015
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. // # Ghost Configuration
  2. // Setup your Ghost install for various environments
  3. // Documentation can be found at http://support.ghost.org/config/
  4.  
  5. var path = require('path'),
  6. config;
  7.  
  8. config = {
  9. // ### Production
  10. // When running Ghost in the wild, use the production environment
  11. // Configure your URL and mail settings here
  12. production: {
  13. url: 'http://drelich.tv',
  14. mail: {},
  15. database: {
  16. client: 'sqlite3',
  17. connection: {
  18. filename: path.join(__dirname, '/content/data/ghost.db')
  19. },
  20. debug: false
  21. },
  22.  
  23. server: {
  24. // Host to be passed to node's `net.Server#listen()`
  25. host: '127.0.0.1',
  26. // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
  27. port: '28699'
  28. }
  29. },
  30.  
  31. // ### Development **(default)**
  32. development: {
  33. // The url to use when providing links to the site, E.g. in RSS and email.
  34. // Change this to your Ghost blogs published URL.
  35. url: 'http://localhost:28699',
  36.  
  37. // Example mail config
  38. // Visit http://support.ghost.org/mail for instructions
  39. // ```
  40. // mail: {
  41. // transport: 'SMTP',
  42. // options: {
  43. // service: 'Mailgun',
  44. // auth: {
  45. // user: '', // mailgun username
  46. // pass: '' // mailgun password
  47. // }
  48. // }
  49. // },
  50. //```
  51.  
  52. database: {
  53. client: 'sqlite3',
  54. connection: {
  55. filename: path.join(__dirname, '/content/data/ghost-dev.db')
  56. },
  57. debug: false
  58. },
  59. server: {
  60. // Host to be passed to node's `net.Server#listen()`
  61. host: '127.0.0.1',
  62. // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
  63. port: '28699'
  64. },
  65. paths: {
  66. contentPath: path.join(__dirname, '/content/')
  67. }
  68. },
  69.  
  70. // **Developers only need to edit below here**
  71.  
  72. // ### Testing
  73. // Used when developing Ghost to run tests and check the health of Ghost
  74. // Uses a different port number
  75. testing: {
  76. url: 'http://127.0.0.1:2369',
  77. database: {
  78. client: 'sqlite3',
  79. connection: {
  80. filename: path.join(__dirname, '/content/data/ghost-test.db')
  81. }
  82. },
  83. server: {
  84. host: '127.0.0.1',
  85. port: '2369'
  86. },
  87. logging: false
  88. },
  89.  
  90. // ### Testing MySQL
  91. // Used by Travis - Automated testing run through GitHub
  92. 'testing-mysql': {
  93. url: 'http://127.0.0.1:2369',
  94. database: {
  95. client: 'mysql',
  96. connection: {
  97. host : '127.0.0.1',
  98. user : 'xxx',
  99. password : 'xxx',
  100. database : 'ghost_testing',
  101. charset : 'utf8'
  102. }
  103. },
  104. server: {
  105. host: '127.0.0.1',
  106. port: '2369'
  107. },
  108. logging: false
  109. },
  110.  
  111. // ### Testing pg
  112. // Used by Travis - Automated testing run through GitHub
  113. 'testing-pg': {
  114. url: 'http://127.0.0.1:2369',
  115. database: {
  116. client: 'pg',
  117. connection: {
  118. host : '127.0.0.1',
  119. user : 'xxx',
  120. password : 'xxx',
  121. database : 'ghost_testing',
  122. charset : 'utf8'
  123. }
  124. },
  125. server: {
  126. host: '127.0.0.1',
  127. port: '2369'
  128. },
  129. logging: false
  130. }
  131. };
  132.  
  133. // Export config
  134. module.exports = config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement