forked from felixrieseberg/Ghost-Azure
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1422e3e
commit df53b20
Showing
32 changed files
with
152,209 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
// # Ghost Configuration for Azure Deployment | ||
// Setup your Ghost install for various environments | ||
// Documentation can be found at http://support.ghost.org/config/ | ||
|
||
var path = require('path'), | ||
config; | ||
|
||
config = { | ||
// ### Development **(default)** | ||
development: { | ||
// The url to use when providing links to the site, E.g. in RSS and email. | ||
url: process.env.websiteUrl, | ||
|
||
// Visit http://support.ghost.org/mail for instructions | ||
mail: { | ||
transport: 'SMTP', | ||
options: { | ||
service: process.env.emailService, | ||
auth: { | ||
user: process.env.emailUsername, // mailgun username | ||
pass: process.env.emailPassword // mailgun password | ||
} | ||
} | ||
}, | ||
|
||
database: { | ||
client: 'sqlite3', | ||
connection: { | ||
filename: path.join(__dirname, '/content/data/ghost-dev.db') | ||
}, | ||
debug: false | ||
}, | ||
server: { | ||
// Host to be passed to node's `net.Server#listen()` | ||
host: '127.0.0.1', | ||
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT` | ||
port: process.env.PORT | ||
}, | ||
paths: { | ||
contentPath: path.join(__dirname, '/content/') | ||
} | ||
}, | ||
|
||
// ### Production | ||
// When running Ghost in the wild, use the production environment | ||
// Configure your URL and mail settings here | ||
production: { | ||
url: process.env.websiteUrl, | ||
|
||
// Visit http://support.ghost.org/mail for instructions | ||
mail: { | ||
transport: 'SMTP', | ||
options: { | ||
service: process.env.emailService, | ||
auth: { | ||
user: process.env.emailUsername, // mailgun username | ||
pass: process.env.emailPassword // mailgun 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: '127.0.0.1', | ||
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT` | ||
port: process.env.PORT | ||
} | ||
}, | ||
|
||
// **Developers only need to edit below here** | ||
|
||
// ### Testing | ||
// Used when developing Ghost to run tests and check the health of Ghost | ||
// Uses a different port number | ||
testing: { | ||
url: 'http://127.0.0.1:2369', | ||
database: { | ||
client: 'sqlite3', | ||
connection: { | ||
filename: path.join(__dirname, '/content/data/ghost-test.db') | ||
} | ||
}, | ||
server: { | ||
host: '127.0.0.1', | ||
port: '2369' | ||
}, | ||
logging: false | ||
}, | ||
|
||
// ### Testing MySQL | ||
// Used by Travis - Automated testing run through GitHub | ||
'testing-mysql': { | ||
url: 'http://127.0.0.1:2369', | ||
database: { | ||
client: 'mysql', | ||
connection: { | ||
host : '127.0.0.1', | ||
user : 'root', | ||
password : '', | ||
database : 'ghost_testing', | ||
charset : 'utf8' | ||
} | ||
}, | ||
server: { | ||
host: '127.0.0.1', | ||
port: '2369' | ||
}, | ||
logging: false | ||
}, | ||
|
||
// ### Testing pg | ||
// Used by Travis - Automated testing run through GitHub | ||
'testing-pg': { | ||
url: 'http://127.0.0.1:2369', | ||
database: { | ||
client: 'pg', | ||
connection: { | ||
host : '127.0.0.1', | ||
user : 'postgres', | ||
password : '', | ||
database : 'ghost_testing', | ||
charset : 'utf8' | ||
} | ||
}, | ||
server: { | ||
host: '127.0.0.1', | ||
port: '2369' | ||
}, | ||
logging: false | ||
} | ||
}; | ||
|
||
// Export config | ||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Content / Apps | ||
|
||
Coming soon, Ghost apps will appear here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Content / Data | ||
|
||
This is the home of your Ghost database, do not overwrite this folder or any of the files inside of it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Content / Images | ||
|
||
If using the standard file storage, Ghost will upload images to this directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Copyright (c) 2013-2015 Ghost Foundation | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Casper | ||
|
||
The default theme for [Ghost](http://github.com/tryghost/ghost/). | ||
|
||
To download, visit the [releases](https://github.com/TryGhost/Casper/releases) page. | ||
|
||
## Copyright & License | ||
|
||
Copyright (c) 2013-2015 Ghost Foundation - Released under the MIT License. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Oops, something went wrong.